ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmaptype.c
Revision: 2.2
Committed: Fri May 8 13:20:23 2015 UTC (9 years ago) by rschregle
Content type: text/plain
Branch: MAIN
Changes since 2.1: +3 -2 lines
Log Message:
Double-counting bugfix for glow sources (thanks DGM!), revised copyright

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 (c) Lucerne University of Applied Sciences and Arts,
8 supported by the Swiss National Science Foundation (SNSF, #147053)
9 ==================================================================
10
11 $Id: pmaptype.c,v 2.1 2015/02/24 19:39:27 greg Exp $
12 */
13
14
15 #include "pmaptype.h"
16
17
18 /* Format strings for photon map files corresponding to PhotonMapType */
19 const char *pmapFormat [NUM_PMAP_TYPES] = {
20 "Radiance_Global_Photon_Map", "Radiance_PreComp_Photon_Map",
21 "Radiance_Caustic_Photon_Map", "Radiance_Volume_Photon_Map",
22 "Radiance_Direct_Photon_Map", "Radiance_Contrib_Photon_Map"
23 };
24
25 /* Photon map names per type */
26 const char *pmapName [NUM_PMAP_TYPES] = {
27 "global", "precomp", "caustic", "volume", "direct", "contrib"
28 };