Blender Git Loki

Git Commits -> Revision bc7ff3c

Revision bc7ff3c by Sergey Sharybin (master)
January 12, 2015, 10:04 (GMT)
Cycles: Enable leaf split by primitive type and adopt BVH traversal for this

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.

Commit Details:

Full Hash: bc7ff3c2b44e9cd8f3aea1a3943b787deede2838
Parent Commit: c707b91
Lines Changed: +237, -236

11 Modified Paths:

/intern/cycles/bvh/bvh_build.cpp (+1, -63) (Diff)
/intern/cycles/bvh/bvh_build.h (+0, -1) (Diff)
/intern/cycles/bvh/bvh_params.h (+0, -6) (Diff)
/intern/cycles/kernel/geom/geom_bvh_shadow.h (+4, -3) (Diff)
/intern/cycles/kernel/geom/geom_bvh_subsurface.h (+23, -19) (Diff)
/intern/cycles/kernel/geom/geom_bvh_traversal.h (+59, -39) (Diff)
/intern/cycles/kernel/geom/geom_bvh_volume.h (+40, -25) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_shadow.h (+3, -2) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_subsurface.h (+24, -19) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_traversal.h (+45, -34) (Diff)
/intern/cycles/kernel/geom/geom_qbvh_volume.h (+38, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021