ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapio.h
Revision: 2.2
Committed: Fri May 8 13:20:22 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 file I/O
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: pmapio.h,v 2.1 2015/02/24 19:39:27 greg Exp $
12 */
13
14
15 #ifndef PMAPIO_H
16 #define PMAPIO_H
17
18 #include "pmapdata.h"
19
20 #define PMAP_FILEVER 160u /* File format version */
21
22 void savePhotonMap (const PhotonMap *pmap, const char *fname,
23 PhotonMapType type, int argc, char **argv);
24 /* Save portable photon map of specified type to filename,
25 along with the corresponding command line. */
26
27 PhotonMapType loadPhotonMap (PhotonMap *pmap, const char* fname);
28 /* Load portable photon map from specified filename, and return photon
29 * map type as identified from file header. */
30
31 #endif