Blender Git Loki

Git Commits -> Revision b56f590

Revision b56f590 by Sergey Sharybin (master)
January 12, 2015, 09:49 (GMT)
Cycles: BVH params option to split leaf node by primitive types

The idea of this change is make it possible to split leaf nodes by primitive
type, making leaf containing primitives of the same type.

This would become handy when working on a single ray to multiple triangles
intersection code, plus with careful implementation it might give some extra
benefits on BVH traversal code by avoiding primitive type fetch and check for
each primitive in the node. But that's a bit tricky to have benefits on this
change only because depth of BVH increases.

This option is not exposed to the interface at all and not used even secretly,
the commit is only needed to help working further in this direction without
messing around with local patches and worrying of them running out of date.

Commit Details:

Full Hash: b56f5900dc776c45d83c99334473d1cb3874feaf
Parent Commit: d8fc404
Lines Changed: +151, -13

5 Modified Paths:

/intern/cycles/bvh/bvh.cpp (+14, -6) (Diff)
/intern/cycles/bvh/bvh_build.cpp (+117, -3) (Diff)
/intern/cycles/bvh/bvh_build.h (+9, -1) (Diff)
/intern/cycles/bvh/bvh_params.h (+5, -2) (Diff)
/intern/cycles/kernel/kernel_types.h (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021