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 |
Lucerne University of Applied Sciences & Arts |
8 |
================================================================== |
9 |
|
10 |
$Id: pmapamb.h,v 1.2 2014/12/01 16:36:56 taschreg Exp $ |
11 |
*/ |
12 |
|
13 |
|
14 |
#ifndef PMAPAMB_H |
15 |
#define PMAPAMB_H |
16 |
|
17 |
#include "pmapdata.h" |
18 |
|
19 |
int ambPmap (COLOR aval, RAY *r, int rdepth); |
20 |
/* Factor irradiance from global photon map into ambient coefficient |
21 |
* aval; return 1 on success, else 0 (with aval unmodified) */ |
22 |
|
23 |
int ambPmapCaustic (COLOR aval, RAY *r, int rdepth); |
24 |
/* Factor irradiance from caustic photon map into ambient coeffiecient |
25 |
* aval; return 1 if successful, else 0 (with aval set to zero) */ |
26 |
#endif |