Blender Git Commit Log

Git Commits -> Revision 0421ae0

Revision 0421ae0 by Sergey Sharybin (master)
January 12, 2017, 15:33 (GMT)
Cycles: Change confusing logic of max leaf size check

Maximal number of elements is supposed to be inclusive. That is what
it was always meant in this file and what @brecht considered still
the case in 6974b69c6172.

In fact, the commit message to that change mentions that we allowed
up to 2 curve primitives per leaf while in fact it was doing up to 1
curve primitive.

Making it real 2 primitives at a max gives about 5% slowdown for the
koro.blend scene. This is a reason why BVHParams.max_curve_leaf_size
was changed to 1 by this change.

Commit Details:

Full Hash: 0421ae056d8ebb7e10894e39d86334b41c061f39
Parent Commit: d9cd9ff
Lines Changed: +4, -4

2 Modified Paths:

/intern/cycles/bvh/bvh_build.cpp (+3, -3) (Diff)
/intern/cycles/bvh/bvh_params.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021