Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-01-12 20:23:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-12 20:23:23 +0300
commit720e5648824c102155ba3dd4551a73e5589a0272 (patch)
tree66542238290f146d53e4549cd6ff83753adf15ae /intern/cycles/bvh
parentb53ce9a1d0dc05c04c950cc614b6bba845cabfa4 (diff)
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.
Diffstat (limited to 'intern/cycles/bvh')
-rw-r--r--intern/cycles/bvh/bvh_params.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h
index 38a2e557a5d..6d426475737 100644
--- a/intern/cycles/bvh/bvh_params.h
+++ b/intern/cycles/bvh/bvh_params.h
@@ -84,7 +84,7 @@ public:
max_triangle_leaf_size = 8;
max_motion_triangle_leaf_size = 8;
max_curve_leaf_size = 1;
- max_motion_curve_leaf_size = 1;
+ max_motion_curve_leaf_size = 4;
top_level = false;
use_qbvh = false;