Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98665068
pmaptype.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jan 15, 10:42
Size
1 KB
Mime Type
text/x-c
Expires
Fri, Jan 17, 10:42 (2 d)
Engine
blob
Format
Raw Data
Handle
23619707
Attached To
R10977 RADIANCE Photon Map
pmaptype.c
View Options
#ifndef lint
static const char RCSid[] = "$Id: pmaptype.c,v 2.5 2016/05/17 17:39:47 rschregle Exp $";
#endif
/*
=========================================================================
Photon map types and corresponding file format strings
Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
(c) Fraunhofer Institute for Solar Energy Systems,
supported by the German Research Foundation
(DFG LU-204/10-2, "Fassadenintegrierte Regelsysteme" (FARESYS))
(c) Lucerne University of Applied Sciences and Arts,
supported by the Swiss National Science Foundation
(SNSF #147053, "Daylight Redirecting Components",
SNSF #179067, "Light Fields for Spatio-Temporal Glare Assessment")
(c) Tokyo University of Science,
supported by the JSPS Grants-in-Aid for Scientific Research
(KAKENHI JP19KK0115, "Three-Dimensional Light Flow")
=========================================================================
$Id: pmaptype.c,v 2.5 2016/05/17 17:39:47 rschregle Exp $
*/
#include "pmaptype.h"
#ifdef PMAP_OOC
#define PMAP_FMTSUFFIX "OOC_Photon_Map"
#else
#define PMAP_FMTSUFFIX "kdT_Photon_Map"
#endif
/* Format strings for photon map files corresponding to PhotonMapType */
const char *pmapFormat [NUM_PMAP_TYPES] = {
"Radiance_Global_" PMAP_FMTSUFFIX, "Radiance_PreComp_" PMAP_FMTSUFFIX,
"Radiance_Caustic_" PMAP_FMTSUFFIX, "Radiance_Volume_" PMAP_FMTSUFFIX,
"Radiance_Direct_" PMAP_FMTSUFFIX, "Radiance_Contrib_" PMAP_FMTSUFFIX,
"Radiance_Transient_" PMAP_FMTSUFFIX,
"Radiance_LightFlow_" PMAP_FMTSUFFIX,
"Radiance_TransLightFlow_" PMAP_FMTSUFFIX,
"Radiance_Contrib_Child_" PMAP_FMTSUFFIX
};
/* Photon map names per type */
const char *pmapName [NUM_PMAP_TYPES] = {
"global", "precomp", "caustic", "volume", "direct", "contrib",
"transient",
"lightflow", "transient lightflow",
"contrib child"
};
Event Timeline
Log In to Comment