ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapray.c
(Generate patch)

Comparing ray/src/rt/pmapray.c (file contents):
Revision 2.7 by greg, Wed Nov 2 22:09:14 2016 UTC vs.
Revision 2.8 by greg, Fri Mar 22 16:54:16 2024 UTC

# 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 23 | 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 +
30     loadPmaps(photonMaps, pmapParams);
31   }
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines