1 |
|
#ifndef lint |
2 |
|
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
4 |
+ |
|
5 |
|
/* |
6 |
|
================================================================== |
7 |
|
Photon map types and corresponding file format strings |
11 |
|
(c) Lucerne University of Applied Sciences and Arts, |
12 |
|
supported by the Swiss National Science Foundation (SNSF, #147053) |
13 |
|
================================================================== |
14 |
< |
|
14 |
> |
|
15 |
> |
$Id$ |
16 |
|
*/ |
17 |
|
|
18 |
|
|
19 |
|
#include "pmaptype.h" |
20 |
|
|
21 |
+ |
#ifdef PMAP_OOC |
22 |
+ |
#define PMAP_FMTSUFFIX "OOC_Photon_Map" |
23 |
+ |
#else |
24 |
+ |
#define PMAP_FMTSUFFIX "kdT_Photon_Map" |
25 |
+ |
#endif |
26 |
|
|
27 |
+ |
|
28 |
|
/* Format strings for photon map files corresponding to PhotonMapType */ |
29 |
|
const char *pmapFormat [NUM_PMAP_TYPES] = { |
30 |
< |
"Radiance_Global_Photon_Map", "Radiance_PreComp_Photon_Map", |
31 |
< |
"Radiance_Caustic_Photon_Map", "Radiance_Volume_Photon_Map", |
32 |
< |
"Radiance_Direct_Photon_Map", "Radiance_Contrib_Photon_Map" |
30 |
> |
"Radiance_Global_" PMAP_FMTSUFFIX, "Radiance_PreComp_" PMAP_FMTSUFFIX, |
31 |
> |
"Radiance_Caustic_" PMAP_FMTSUFFIX, "Radiance_Volume_" PMAP_FMTSUFFIX, |
32 |
> |
"Radiance_Direct_" PMAP_FMTSUFFIX, "Radiance_Contrib_" PMAP_FMTSUFFIX |
33 |
|
}; |
34 |
|
|
35 |
|
/* Photon map names per type */ |