1 |
+ |
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
< |
================================================================== |
5 |
< |
Parameters common to all photon map modules. |
6 |
< |
For inclusion in main program. |
4 |
> |
====================================================================== |
5 |
> |
Parameters for photon map generation and rendering; used by mkpmap |
6 |
> |
and rpict/rvu/rtrace. |
7 |
|
|
8 |
|
Roland Schregle (roland.schregle@{hslu.ch, gmail.com} |
9 |
|
(c) Fraunhofer Institute for Solar Energy Systems, |
10 |
< |
Lucerne University of Applied Sciences & Arts |
11 |
< |
================================================================== |
10 |
> |
(c) Lucerne University of Applied Sciences and Arts, |
11 |
> |
supported by the Swiss National Science Foundation (SNSF, #147053) |
12 |
> |
====================================================================== |
13 |
|
|
14 |
|
$Id$ |
15 |
|
*/ |
40 |
|
#define contribPmapParams (pmapParams [PMAP_TYPE_CONTRIB]) |
41 |
|
|
42 |
|
|
43 |
< |
extern float pdfSamples, preDistrib, finalGather, gatherTolerance, |
44 |
< |
maxDistCoeff; |
45 |
< |
extern unsigned long photonHeapSizeInc, photonMaxBounce; |
46 |
< |
extern unsigned photonRepTime, maxPreDistrib, defaultGather; |
43 |
> |
extern float pdfSamples, preDistrib, finalGather, |
44 |
> |
gatherTolerance, maxDistFix; |
45 |
> |
extern unsigned long photonHeapSizeInc, photonMaxBounce; |
46 |
> |
extern unsigned photonRepTime, maxPreDistrib, defaultGather; |
47 |
> |
|
48 |
|
#ifdef PMAP_ROI |
49 |
|
extern float pmapROI [6]; |
50 |
|
#endif |
51 |
+ |
|
52 |
+ |
#ifdef PMAP_OOC |
53 |
+ |
extern float pmapCachePageSize; |
54 |
+ |
extern unsigned long pmapCacheSize; |
55 |
+ |
#endif |
56 |
+ |
|
57 |
|
|
58 |
|
struct PhotonMap; |
59 |
|
|