Blender Git Commit Log

Git Commits -> Revision 303bc3d

March 3, 2017, 10:55 (GMT)
Cycles: Initialize rng_state for split kernel

Because the split kernel can render multiple samples in parallel it is
necessary to have everything initialized before rendering of any samples
begins. The code that normally handles initialization of
`rng_state` (`kernel_path_trace_setup()`) only does so for the first sample,
which was causing artifacts in the split kernel due to uninitialized
`rng_state` for some samples.

Note that because the split kernel can render samples in parallel this
means that the split kernel is incompatible with the LCG.

Commit Details:

Full Hash: 303bc3dc9653b8cba7edcd2e17e90c68fbf5aa34
Parent Commit: 4c271f2
Lines Changed: +9, -1

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