Homec4science

Removed contribTab in PhotonMap and made global variable in pmapcontrib.c as a…

Authored by U No Hoo <roland.schregle@gmail.com> on Nov 25 2021, 03:33.

Description

Removed contribTab in PhotonMap and made global variable in pmapcontrib.c as a placeholder for rcontrib's modconttab. rcmain.c sets this pointer to modconttab via a dedicated func initPmapContribTab(). This way the pmapcontrib modules don't need to reference modconttab externally, as this leads to conflicts when linking to rtrace/rpict/rvu; they simply ignore pmapContribTab.

Details

Committed
U No Hoo <roland.schregle@gmail.com>Nov 25 2021, 03:33
Pushed
GTNov 27 2021, 05:42
Parents
R10977:74ba77c37598: Intermediate commit while figuring out how to init contribution LUT from rcmain.
Branches
Unknown
Tags
Unknown