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

Comparing ray/src/rt/pmapparm.c (file contents):
Revision 2.7 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.9 by rschregle, Fri Feb 2 19:47:55 2018 UTC

# Line 19 | Line 19 | static const char RCSid[] = "$Id$";
19  
20   #include "pmapparm.h"
21   #include "pmapdata.h"
22 #include "standard.h"
22   #include <ctype.h>
23  
24  
# Line 37 | Line 36 | float pdfSamples        = 1000,        /* PDF samples
36                                            are restarted with a larger
37                                            search radius */
38                                            
39 <      maxDistFix        = 0;           /* Static maximum photon search
39 >      maxDistFix        = 0,           /* Static maximum photon search
40                                            radius (radius is adaptive if
41                                            this is zero) */
42 +      
43 +      photonMaxDist     = 0;           /* Maximum cumulative distance of
44 +                                          photon path */
45                                            
46   #ifdef PMAP_OOC
47   float          pmapCachePageSize = 8;     /* OOC cache pagesize as multiple
# Line 48 | Line 50 | unsigned long  pmapCacheSize     = 1e6;   /* OOC cache
50   #endif
51  
52  
53 < #ifdef PMAP_ROI
54 < /* Region of interest bbox: {xmin, xmax, ymin, ymax, zmin, zmax} */
55 < float pmapROI [6] = {-FHUGE, FHUGE, -FHUGE, FHUGE, -FHUGE, FHUGE};                                        
54 < #endif                                        
53 > /* Regions of interest */
54 > unsigned pmapNumROI = 0;
55 > PhotonMapROI *pmapROI = NULL;
56  
57  
58 + unsigned verbose = 0;                  /* Verbose console output */
59   unsigned long photonMaxBounce = 5000;  /* Runaway photon bounce limit */
60   unsigned photonRepTime        = 0,     /* Seconds between reports */
61           maxPreDistrib        = 4,     /* Max predistrib passes */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines