Homec4science

Added loading funcs for precomputed contrib pmaps, but no per-modifier photon…

Authored by U No Hoo <roland.schregle@gmail.com> on Nov 23 2021, 23:19.

Description

Added loading funcs for precomputed contrib pmaps, but no per-modifier photon lookups and no contrib caching yet. Fixed buggy handling of empty octree in OOC_ROOTIDX() and OOC_ROOT() macros in oococt.h, and OOC_SETROOT() to suppress non-NULL warnings when calling memcpy(). Also revised OOC_FindNearest()/OOC_Find1Nearest() to fail when node=NULL (i.e. empty octree).

Details

Committed
U No Hoo <roland.schregle@gmail.com>Nov 23 2021, 23:19
Pushed
GTNov 27 2021, 05:42
Parents
R10977:f0d689729faf: 1st version that saves a precomputed contrib pmap. Per-modifier pmaps…
Branches
Unknown
Tags
Unknown