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

Comparing ray/src/rt/pmaptype.c (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:27 2015 UTC vs.
Revision 2.5 by rschregle, Tue May 17 17:39:47 2016 UTC

# Line 1 | Line 1
1 + #ifndef lint
2 + static const char RCSid[] = "$Id$";
3 + #endif
4 +
5   /*
6     ==================================================================
7     Photon map types and corresponding file format strings
8  
9     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
10     (c) Fraunhofer Institute for Solar Energy Systems,
11 <       Lucerne University of Applied Sciences & Arts  
11 >   (c) Lucerne University of Applied Sciences and Arts,
12 >   supported by the Swiss National Science Foundation (SNSF, #147053)
13     ==================================================================
14    
15     $Id$
# Line 13 | Line 18
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines