Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2689 / 5574

February 1, 2015, 18:01 (GMT)
error in last commit
February 1, 2015, 17:57 (GMT)
RNA: add readonly pixelsize to userprefs
February 1, 2015, 17:16 (GMT)
Documentation: updated mathutils documentation

Added descriptions of the constructors, and improved the module-level
documentation.
February 1, 2015, 14:23 (GMT)
cleanup: use const
February 1, 2015, 13:00 (GMT)
Documentation: Support documenting constructors in class __doc__

Python types defined in C can now start their docstring with a
`.. class:: TypeName(args)` line, to document their constructor.
In that case the documentation writer is responsible for indenting the
remainder of the docstring by 3 spaces, matching the generated
documentation.
February 1, 2015, 12:06 (GMT)
mathutils: added exponential map to Quaternion

Added conversion to and from exponential map representation. This
representation is useful for interpolation of > 2 quaternions, or in
PD controllers.

Implementation in C functions quat_to_expmap,
quat_normalized_to_expmap, and expmap_to_quat with Python API, unit
tests and documentation.

Added Quaternion.to_exponential_map() and Quaternion(3-vector) to
Python API.

Reviewers: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D1049
February 1, 2015, 09:34 (GMT)
Fix: correctly describing Quaternion.normalize()

The original comment seems to suggest that only the rotation vector
is normalized, leaving the rotation angle alone. This is not what happens,
though. The new comment matches the actual implementation, and the
implementation matches what is commonly understood as quaternion
normalization.
February 1, 2015, 08:18 (GMT)
BMesh: remove redundant connect-nonplanar loop
January 31, 2015, 17:19 (GMT)
WM: empty menu so addons can extend the splash
January 31, 2015, 17:19 (GMT)
Cleanup: style
January 31, 2015, 16:15 (GMT)
Blender metadata changes to accommodate non string data

Work towards T42418

For now got rid of linked list holding key,value pairs for metadata in favour of ID properties.

Reviewers: campbellbarton, sergey

Reviewed By: sergey

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D872
January 31, 2015, 15:00 (GMT)
Add PIL_check_seconds_timer_i to avoid casting

note, win32 casts still casts from double.
January 31, 2015, 14:17 (GMT)
Compiler warning: double-promotion
January 31, 2015, 13:37 (GMT)
Comment for math defines, also add M_PI_4
January 31, 2015, 09:39 (GMT)
Fix T43496: Infinite loop in kernel when using surface attribute for volume

The issue was caused bu the optimization in surface attributes for cases when
there's only a volume shader used. Some attributes doesn't make sense in that
case and were skipped from calculation.

However, it is possible that kernel would still try to access them (because of
the shader setup etc). Prevented an infinite loop in the kernel now, which
should not have much affect on regular renders.
January 30, 2015, 20:49 (GMT)
Cycles: Don't perform re-intersection if ray distance is zero

It is possible that ray distance will be zero which would make intersection
refinement return NaN as the refined position which would later lead to all
sort of mathematical issues.

Don't think there are ways to improve intersection accuracy for such rays
so just return original intersection coordinate.

This should fix T43475.

TODO: Need to look into possible issues in Ashikhmin BSDF which might return
zero-length reflected/transmitted ray?
January 30, 2015, 20:49 (GMT)
Cycles: Use bool for is_lead array

This way we save 3 bytes per BVH node while building BVH, which overall
gives 100Mb memory save when preparing Frank for render.

It's not really much comparing to overall memory usage (which is 11Gb
during scene preparation here) but still doesn't harm to have solved.
January 30, 2015, 20:49 (GMT)
Cycles: Use fast math functions in hair BSDF

Precision of the fast functions seems to be enough in there and
since the code was heavily using inverse trigonometric functions
this change gives few percent speedup on Victor's hair.

From the tests files from ctests storage doesn't have any meaningful
difference, hair on Victor is all below 4% absolute error and only
few pixels are exceeding 1% absolute difference.

In any case, let it be as it is currently so it allows us to have
fast math file in sources for it's further evaluation and possible
usage in other areas as well.
January 30, 2015, 20:49 (GMT)
Cycles: Add fast math function module

It is based on fmath.h from OIIO and could be used to give some speedup
in areas where absolute accuracy is not so critical.
January 30, 2015, 18:47 (GMT)
First version of constrained line strokes - there's some flickering
still, will look into it later.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021