blender/intern/cycles/bvh
Sergey Sharybin 146eb7947e Cycles: Tweak to leaf creation criteria in all BVH types
Since leaf node gets split further into per-primitive type leaves old check
for number of curves became a bit ridiculous -- it might lead to two leaf nodes
each of which would contain only one curve primitive (one motion curve and one
regular curve).

This lead to quite dramatic slowdown for Victor model -- around 40%, which is
totally unacceptable.

This commit is aimed to prevent such situation and from quick render test it
seems victor is now back to normal render time. Further testing is needed tho.

There are also other ideas about splitting the node, will need to look into
them next.
2015-01-16 01:42:58 +05:00
..
bvh_binning.cpp Code cleanup: Add -Werror=float-conversion to Cycles 2014-05-03 07:31:46 +10:00
bvh_binning.h Cycles: merging features from tomato branch. 2012-04-28 08:53:59 +00:00
bvh_build.cpp Cycles: Tweak to leaf creation criteria in all BVH types 2015-01-16 01:42:58 +05:00
bvh_build.h Cycles: Enable leaf split by primitive type and adopt BVH traversal for this 2015-01-12 15:04:52 +05:00
bvh_node.cpp Cycles: Use proper node counter to allocate QBVH nodes 2014-12-25 02:50:49 +05:00
bvh_node.h Cycles: Use proper node counter to allocate QBVH nodes 2014-12-25 02:50:49 +05:00
bvh_params.h Cycles: Enable leaf split by primitive type and adopt BVH traversal for this 2015-01-12 15:04:52 +05:00
bvh_sort.cpp Cycles code refactor: changes to make adding new primitive types easier. 2014-03-29 13:03:46 +01:00
bvh_sort.h style cleanup: block comments 2012-06-09 17:22:52 +00:00
bvh_split.cpp Cycles: optimization for hair BVH build, allow max 2 hair curves per leaf. 2014-04-22 17:15:41 +02:00
bvh_split.h Cycles: optimization for hair BVH build, allow max 2 hair curves per leaf. 2014-04-22 17:15:41 +02:00
bvh.cpp Cycles: Fix QBVH refit nodes not setting primitive type properly 2015-01-14 02:17:28 +05:00
bvh.h Cycles: Implement watertight ray/triangle intersection 2014-12-25 02:50:49 +05:00
CMakeLists.txt code cleanup: 2012-10-17 04:13:03 +00:00