| 1 |
+ |
/* RCSid $Id$ */ |
| 2 |
+ |
|
| 3 |
|
/* |
| 4 |
|
================================================================== |
| 5 |
|
Bias compensation for photon density estimates |
| 8 |
|
R. Schregle, "Bias Compensation for Photon Maps", |
| 9 |
|
Computer Graphics Forum, v22:n4, pp. 729-742, Dec. 2003. |
| 10 |
|
|
| 11 |
< |
Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) |
| 12 |
< |
(c) Fraunhofer Institute for Solar Energy Systems, |
| 11 |
< |
Lucerne University of Applied Sciences & Arts |
| 11 |
> |
Roland Schregle ([email protected]) |
| 12 |
> |
(c) Fraunhofer Institute for Solar Energy Systems |
| 13 |
|
================================================================== |
| 14 |
|
|
| 15 |
|
$Id$ |
| 20 |
|
#define PMAPBIASCOMP_H |
| 21 |
|
|
| 22 |
|
#include "pmapdata.h" |
| 23 |
< |
|
| 23 |
> |
|
| 24 |
|
/* Bias compensation weighting function */ |
| 25 |
|
/* #define BIASCOMP_WGT(n) 1 */ |
| 26 |
|
/* #define BIASCOMP_WGT(n) (n) */ |
| 30 |
|
|
| 31 |
|
/* Dump photon bandwidth for bias compensated density estimates */ |
| 32 |
|
/* #define BIASCOMP_BWIDTH */ |
| 32 |
– |
|
| 33 |
|
|
| 34 |
|
void biasComp (PhotonMap*, COLOR); |
| 35 |
|
/* Photon density estimate with bias compensation, returning irradiance. |