Homec4science

Added locking of shared memmapped photon counter file in distribPhotons() and…

Authored by U No Hoo <roland.schregle@gmail.com> on Jan 27 2022, 22:37.

Description

Added locking of shared memmapped photon counter file in distribPhotons() and distribPhotonContrib() after more (erroneous) counter overflows due to race conditions. Also decorrelated photon counter update interval photonCntUpdate for each subprocess. Revised setting of photon's aux.contribSrc field for precomputed contrib photons in newPhoton() and its call in preComputeContrib(). This currently set, but its value is ignored since precomputed contrib pmaps are separated per modifier anyway.

Details

Committed
U No Hoo <roland.schregle@gmail.com>Jan 27 2022, 22:37
Pushed
GTJan 28 2022, 05:08
Parents
R10977:fa7cb7c83275: Added output of mRGBE bit configuration to contrib photon map header in…
Branches
Unknown
Tags
Unknown