# | Line 24 | Line 24 | static const char RCSid[] = "$Id$"; | |
---|---|---|
24 | void ray_init_pmap () | |
25 | /* Interface to ray_init(); init & load photon maps */ | |
26 | { | |
27 | – | if (NCSAMP > 3 && photonMapping) |
28 | – | error(USER, "photon-mapping not currently supported for > 3 spectral samples"); |
29 | – | |
27 | loadPmaps(photonMaps, pmapParams); | |
28 | + | |
29 | + | if (NCSAMP > 3 && photonMapping) |
30 | + | error(USER, "hyperspectral photon-mapping currently unsupported"); |
31 | } | |
32 | ||
33 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |