Blender Git Loki

Git Commits -> Revision 146eb79

Revision 146eb79 by Sergey Sharybin (master)
January 15, 2015, 20:42 (GMT)
Cycles: Tweak to leaf creation criteria in all BVH types

Since leaf node gets split further into per-primitive type leaves old check
for number of curves became a bit ridiculous -- it might lead to two leaf nodes
each of which would contain only one curve primitive (one motion curve and one
regular curve).

This lead to quite dramatic slowdown for Victor model -- around 40%, which is
totally unacceptable.

This commit is aimed to prevent such situation and from quick render test it
seems victor is now back to normal render time. Further testing is needed tho.

There are also other ideas about splitting the node, will need to look into
them next.

Commit Details:

Full Hash: 146eb7947ef4e660849e51bc070761fbed322f31
Parent Commit: f02dba5
Lines Changed: +7, -2

1 Modified Path:

/intern/cycles/bvh/bvh_build.cpp (+7, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021