Blender Git Loki
Git Commits -> Revision 1ad04c7
Revision 1ad04c7 by Sergey Sharybin (master) January 20, 2017, 11:46 (GMT) |
Cycles: Store time in BVH nodes This way we can stop traversing BVH node early on. Gives about 2-2.5x times render time improvement with 3 BVH steps. Hopefully this gives no measurable performance loss for scenes with single BVH step. Traversal is currently only implemented for QBVH, meaning old CPUs and GPU do not benefit from this change. |
Commit Details:
Full Hash: 1ad04c7d65b0e9e3efa8563005e91d9aa419fec5
Parent Commit: c4890cd
Lines Changed: +93, -9
8 Modified Paths:
/intern/cycles/bvh/bvh.cpp (+17, -0) (Diff)
/intern/cycles/bvh/bvh.h (+4, -0) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+27, -4) (Diff)
/intern/cycles/bvh/bvh_node.cpp (+13, -0) (Diff)
/intern/cycles/bvh/bvh_node.h (+6, -1) (Diff)
/intern/cycles/bvh/bvh_params.h (+14, -2) (Diff)
/intern/cycles/kernel/bvh/qbvh_shadow_all.h (+8, -2) (Diff)
/intern/cycles/kernel/bvh/qbvh_traversal.h (+4, -0) (Diff)
/intern/cycles/bvh/bvh.h (+4, -0) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+27, -4) (Diff)
/intern/cycles/bvh/bvh_node.cpp (+13, -0) (Diff)
/intern/cycles/bvh/bvh_node.h (+6, -1) (Diff)
/intern/cycles/bvh/bvh_params.h (+14, -2) (Diff)
/intern/cycles/kernel/bvh/qbvh_shadow_all.h (+8, -2) (Diff)
/intern/cycles/kernel/bvh/qbvh_traversal.h (+4, -0) (Diff)