27 |
|
unsigned minGather, maxGather; /* Num photons to gather */ |
28 |
|
unsigned long distribTarget; /* Num photons to store */ |
29 |
|
} PhotonMapParams; |
30 |
+ |
|
31 |
+ |
/* Bounding box for region of interest */ |
32 |
+ |
typedef struct { |
33 |
+ |
float min [3], max [3]; |
34 |
+ |
} PhotonMapROI; |
35 |
|
|
36 |
|
|
37 |
|
extern PhotonMapParams pmapParams [NUM_PMAP_TYPES]; |
48 |
|
extern float pdfSamples, preDistrib, finalGather, |
49 |
|
gatherTolerance, maxDistFix; |
50 |
|
extern unsigned long photonHeapSizeInc, photonMaxBounce; |
51 |
< |
extern unsigned photonRepTime, maxPreDistrib, defaultGather; |
52 |
< |
|
53 |
< |
#ifdef PMAP_ROI |
54 |
< |
extern float pmapROI [6]; |
55 |
< |
#endif |
51 |
> |
extern unsigned photonRepTime, maxPreDistrib, defaultGather, |
52 |
> |
verbose; |
53 |
> |
|
54 |
> |
extern unsigned pmapNumROI; |
55 |
> |
extern PhotonMapROI *pmapROI; |
56 |
|
|
57 |
|
#ifdef PMAP_OOC |
58 |
|
extern float pmapCachePageSize; |