ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapamb.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: +4 -3 lines
Log Message:
Double-counting bugfix for glow sources (thanks DGM!), revised copyright

File Contents

# Content
1 /*
2 ==================================================================
3 Photon map interface to RADIANCE ambient calculation
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: pmapamb.h,v 2.1 2015/02/24 19:39:26 greg Exp $
12 */
13
14
15 #ifndef PMAPAMB_H
16 #define PMAPAMB_H
17
18 #include "pmapdata.h"
19
20 int ambPmap (COLOR aval, RAY *r, int rdepth);
21 /* Factor irradiance from global photon map into ambient coefficient
22 * aval; return 1 on success, else 0 (with aval unmodified) */
23
24 int ambPmapCaustic (COLOR aval, RAY *r, int rdepth);
25 /* Factor irradiance from caustic photon map into ambient coeffiecient
26 * aval; return 1 if successful, else 0 (with aval set to zero) */
27 #endif