ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmaptype.c
Revision: 2.1
Committed: Tue Feb 24 19:39:27 2015 UTC (9 years, 2 months ago) by greg
Content type: text/plain
Branch: MAIN
Log Message:
Initial check-in of photon map addition by Roland Schregle

File Contents

# Content
1 /*
2 ==================================================================
3 Photon map types and corresponding file format strings
4
5 Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
6 (c) Fraunhofer Institute for Solar Energy Systems,
7 Lucerne University of Applied Sciences & Arts
8 ==================================================================
9
10 $Id: pmaptype.c,v 1.3 2014/12/01 17:30:28 taschreg Exp taschreg $
11 */
12
13
14 #include "pmaptype.h"
15
16
17 /* Format strings for photon map files corresponding to PhotonMapType */
18 const char *pmapFormat [NUM_PMAP_TYPES] = {
19 "Radiance_Global_Photon_Map", "Radiance_PreComp_Photon_Map",
20 "Radiance_Caustic_Photon_Map", "Radiance_Volume_Photon_Map",
21 "Radiance_Direct_Photon_Map", "Radiance_Contrib_Photon_Map"
22 };
23
24 /* Photon map names per type */
25 const char *pmapName [NUM_PMAP_TYPES] = {
26 "global", "precomp", "caustic", "volume", "direct", "contrib"
27 };