19 |
|
|
20 |
|
#include "pmapparm.h" |
21 |
|
#include "pmapdata.h" |
22 |
– |
#include "standard.h" |
22 |
|
#include <ctype.h> |
23 |
|
|
24 |
|
|
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 |
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 */ |