Blender Git Commit Log

Git Commits -> Revision 764432a

Revision 764432a by Brecht Van Lommel (master)
April 24, 2012, 11:52 (GMT)
Cycles: BVH build time optimizations:

* BVH building was multithreaded. Not all building is multithreaded, packing
and the initial bounding/splitting is still single threaded, but recursive
splitting is, which was the main bottleneck.

* Object splitting now uses binning rather than sorting of all elements, using
code from the Embree raytracer from Intel.
http://software.intel.com/en-us/articles/embree-photo-realistic-ray-tracing-kernels/

* Other small changes to avoid allocations, pack memory more tightly, avoid
some unnecessary operations, ...

These optimizations do not work yet when Spatial Splits are enabled, for that
more work is needed. There's also other optimizations still needed, in
particular for the case of many low poly objects, the packing step and node
memory allocation.

BVH raytracing time should remain about the same, but BVH build time should be
significantly reduced, test here show speedup of about 5x to 10x on a dual core
and 5x to 25x on an 8-core machine, depending on the scene.

Commit Details:

Full Hash: 764432ac930e0e62ca2e7ddd5228a2be4867e797
SVN Revision: 45917
Parent Commit: ea4ce9e
Lines Changed: +1248, -468

By: Miika HämäläinenLast update: Jul-21-2014 15:07 MiikaHweb | 2003-2014