Blender Git Commit Log

Git Commits -> Revision e7ad962

June 8, 2017, 09:19 (GMT)
Cycles: Faster split branched path tracing by sharing samples with inactive threads

Unlike regular path tracing, branched path tracing is usually used with lower
sample counts, at least for primary rays. This means that are less samples for
the GPU to work on in parallel and rendering is slower. As there is less work
overall there is also more inactive threads during rendering with BPT. This
patch makes use of those inactive rays to render branched samples in parallel
with other samples.

Each thread that is preparing for a branched sample will attempt to find an
inactive thread and if one is found the state for the sample is copied to that
thread. Potentially, if there are enough inactive threads, 100s of branched
samples could be generated from the same originating thread and ran in
parallel giving large speed ups.

Gives 70% faster render for pavillion midday scene. 20-60% faster on BMW
with car paint replaced with SSS/volumes.

Commit Details:

Full Hash: e7ad962a40f12280ab0b40026d839e2562bfbbc2
Parent Commit: 06af96c
Lines Changed: +142, -5

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019