Homec4science

Moved contrib pmap building routines into pmcontrib3.c, rcontrib routines into…

Authored by U No Hoo <roland.schregle@gmail.com> on Nov 2 2021, 01:14.

Description

Moved contrib pmap building routines into pmcontrib3.c, rcontrib routines into pmcontrib4.c. Fixed buggy def of photonMapping flag in conjunction with lightflow; this led to the creation of virtual sources when using mirror material! Added check for virtual sources in initPhotonEmission(), just in case. Fixed buggy spherical/rectangular inclusion check in photonInROI().

Details

Committed
U No Hoo <roland.schregle@gmail.com>Nov 2 2021, 01:14
Pushed
GTNov 2 2021, 01:17
Parents
R10977:901cd56cc75a: Added handling of single bin contribs (i.e. no binning); this is untested!
Branches
Unknown
Tags
Unknown