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

Comparing ray/src/rt/rvmain.c (file contents):
Revision 2.11 by greg, Wed Oct 5 17:20:55 2011 UTC vs.
Revision 2.12 by greg, Tue Feb 24 19:39:27 2015 UTC

# Line 18 | Line 18 | static const char      RCSid[] = "$Id$";
18   #include  "random.h"
19   #include  "paths.h"
20   #include  "view.h"
21 + #include  "pmapray.h"
22  
23   extern char  *progname;                 /* global argv[0] */
24  
# Line 228 | Line 229 | main(int argc, char *argv[])
229          SET_FILE_BINARY(stdout);
230          
231          ray_init(octnm);
232 +        
233 +        /* PMAP: set up & load photon maps */
234 +        ray_init_pmap();
235  
236          rview();                        /* run interactive viewer */
237  
238          devclose();                     /* close output device */
239  
240 +        /* PMAP: free photon maps */
241 +        ray_done_pmap();
242 +        
243          quit(0);
244  
245   badopt:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines