ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapamb.h
Revision: 2.5
Committed: Tue May 17 17:39:47 2016 UTC (8 years ago) by rschregle
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad5R3, rad5R1, HEAD
Changes since 2.4: +3 -1 lines
Log Message:
Initial import of ooC photon map

File Contents

# User Rev Content
1 greg 2.4 /* RCSid $Id: pmapamb.h,v 2.3 2015/08/18 18:45:55 greg Exp $ */
2 rschregle 2.5
3 greg 2.1 /*
4     ==================================================================
5     Photon map interface to RADIANCE ambient calculation
6    
7     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
8     (c) Fraunhofer Institute for Solar Energy Systems,
9 rschregle 2.2 (c) Lucerne University of Applied Sciences and Arts,
10     supported by the Swiss National Science Foundation (SNSF, #147053)
11     ==================================================================
12 greg 2.1
13 rschregle 2.5 $Id: pmapamb.h,v 2.2 2015/05/08 13:20:22 rschregle Exp $
14 greg 2.1 */
15    
16    
17     #ifndef PMAPAMB_H
18 rschregle 2.5 #define PMAPAMB_H
19 greg 2.1
20     #include "pmapdata.h"
21    
22     int ambPmap (COLOR aval, RAY *r, int rdepth);
23     /* Factor irradiance from global photon map into ambient coefficient
24     * aval; return 1 on success, else 0 (with aval unmodified) */
25    
26     int ambPmapCaustic (COLOR aval, RAY *r, int rdepth);
27     /* Factor irradiance from caustic photon map into ambient coeffiecient
28     * aval; return 1 if successful, else 0 (with aval set to zero) */
29     #endif