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