forked from bartvdbraak/blender
bc7ff3c2b4
This commit enables BVH leaf nodes split by the primitive type and makes it so BVH traversal code is now aware and benefits from this. As was mentioned in original commit, this change is crucial to be able to do single ray to multiple triangle intersection. But it also appears to give barely visible speedup in some scene. In any case there should be no noticeable slowdown, and this change is what we need to have anyway. |
||
---|---|---|
.. | ||
bvh_binning.cpp | ||
bvh_binning.h | ||
bvh_build.cpp | ||
bvh_build.h | ||
bvh_node.cpp | ||
bvh_node.h | ||
bvh_params.h | ||
bvh_sort.cpp | ||
bvh_sort.h | ||
bvh_split.cpp | ||
bvh_split.h | ||
bvh.cpp | ||
bvh.h | ||
CMakeLists.txt |