Blender Git Commit Log

Git Commits -> Revision bbbbe68

Revision bbbbe68 by Sergey Sharybin (master)
March 31, 2016, 08:06 (GMT)
Cycles: Wrap spatial split storage into own structure

This has following advantages:

- Localizes all the run-time storage into a single structure,
which could easily be extended further.

- Storage could be created per-thread, so once builder is
threaded we wouldn't have any conflicts between threads.

- Global nature of the storage avoids memory re-allocation
on the runtime, keeping builder as fast as possible.

Currently it's just API changes, which don't affect user at all.

Commit Details:

Full Hash: bbbbe68473e02567a902a6405ca09de216674615
Parent Commit: 9c420e5
Lines Changed: +85, -28

5 Modified Paths:

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