# | Line 16 | Line 16 | static const char RCSid[] = "$Id$"; | |
---|---|---|
16 | */ | |
17 | ||
18 | ||
19 | + | #include "ray.h" |
20 | #include "pmapray.h" | |
21 | #include "pmap.h" | |
22 | ||
# | Line 24 | Line 25 | void ray_init_pmap () | |
25 | /* Interface to ray_init(); init & load photon maps */ | |
26 | { | |
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 |