Cycles: Allow up to 4 motion curve primitives per BVH node
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 12 Jan 2017 17:23:23 +0000 (18:23 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 12 Jan 2017 17:23:23 +0000 (18:23 +0100)
commit720e5648824c102155ba3dd4551a73e5589a0272
tree66542238290f146d53e4549cd6ff83753adf15ae
parentb53ce9a1d0dc05c04c950cc614b6bba845cabfa4
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.
intern/cycles/bvh/bvh_params.h