Blender Git Loki
Git Commits -> Revision a65a988
Revision a65a988 by Sergey Sharybin (blender-v2.78b-release, blender-v2.78c-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) January 26, 2017, 10:14 (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: a65a988592ab36efa870b7d2f6267cdf48953340
Parent Commit: 91fe6bd
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)