Blender Git Loki

Blender Git "fracture_modifier-master" branch commits.

Page: 38 / 129

January 20, 2017, 10:26 (GMT)
Cycles: Fix amount of rendered samples not being shown while rendering the last tile on CPU
January 20, 2017, 10:26 (GMT)
Cycles: Add fast-math safe isnan and isfinite

Currently unused, but might become really handy in the future.
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, spelling
January 20, 2017, 10:26 (GMT)
Cycles: Simplify some code in Curve BVH reference fill

makes code slightly shorter and uses idea of const qualifiers.
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, style
January 20, 2017, 10:26 (GMT)
Cycles: Fix wrong transparent shadows for motion blur hair

This was a missing bit from b53ce9a.
January 20, 2017, 10:26 (GMT)
Cycles: Avoid shadowing in BVH code

Run into some nasty bugs while trying various things here.

Wouldn't mind enabling -Wshadow for Cycles actually..
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, avoid shadowing
January 20, 2017, 10:26 (GMT)
Cycles: Correct assert() for cases when there are multiple curves per BVH node
January 20, 2017, 10:26 (GMT)
Cycles: Use separate limit for motion primitives for BVH node limits

This way we can have different limits for regular and motion curves
which we'll do in one of the upcoming commits in order to gain some
percents of speedup.

The reasoning here is that motion curves are usually intersecting
lots of others bounding boxes, which makes it inefficient to have
single primitive in the leaf node.
January 20, 2017, 10:26 (GMT)
Cycles: Allow up to 4 motion curve primitives per BVH node

This avoids intersection AABB of different curve primitives
which makes it less ray-to-primitive intersections.

This gives about 30% speedup of hair rendering in the barber
shop scenes here. There is still some work to be done on those
files to solve major speed issues on certain frames.
January 20, 2017, 10:26 (GMT)
Cycles: Change confusing logic of max leaf size check

Maximal number of elements is supposed to be inclusive. That is what
it was always meant in this file and what @brecht considered still
the case in 6974b69c6172.

In fact, the commit message to that change mentions that we allowed
up to 2 curve primitives per leaf while in fact it was doing up to 1
curve primitive.

Making it real 2 primitives at a max gives about 5% slowdown for the
koro.blend scene. This is a reason why BVHParams.max_curve_leaf_size
was changed to 1 by this change.
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, space prior to semicolon

We don't have that in Blender style, no reason to violate it here.
January 20, 2017, 10:26 (GMT)
Cycles: Prepare BVH traversal code to work with multiple curve primitives per node
January 20, 2017, 10:26 (GMT)
Cycles: Use dedicated debug passes for traversed nodes and intersection tests

This way it's more clear whether some issue is caused by lots of geometry in
the node or by lots of "transparent" BVH nodes.
January 20, 2017, 10:26 (GMT)
Cycles: Make it more clear message why curve motion attribute was removed
January 20, 2017, 10:26 (GMT)
Cycles: Fix wrong scaling of traversed instances debug pass
January 20, 2017, 10:26 (GMT)
Cycles: Remove more duplicated code in debug passes logic
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, make curve functions private

Not only they don't really follow naming convention (we don't use
camel case) but also was not necessary to keep them in the global
symbol table.
January 20, 2017, 10:26 (GMT)
Cycles: Cleanup, indentation within preprocessor
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021