Homec4science

Fixed memory leaks, added UNTESTED code to handle single contribution bin (so…

Authored by U No Hoo <roland.schregle@gmail.com> on Oct 17 2021, 05:30.

Description

Fixed memory leaks, added UNTESTED code to handle single contribution bin (so basically no binning) in preComputeContrib(). Precomputed per-modifier contrib pmaps are now stored in a LUT within the main/parent contrib photon map, which basically just acts as a container. Added skeleton saveContribPmap() as hook for savePhotonMap() to save the constituent precomputed contrib photon maps in the parent pmap's LUT. This code needs elaboration, and savePhotonMaps() needs to be aware of it.

Details

Committed
U No Hoo <roland.schregle@gmail.com>Oct 17 2021, 05:30
Pushed
GTNov 2 2021, 01:17
Parents
R10977:b18cc6253674: Modified to generate per-modifier precomputed contrib pmaps
Branches
Unknown
Tags
Unknown