ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapbias.h
(Generate patch)

Comparing ray/src/rt/pmapbias.h (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.6 by greg, Tue Sep 17 16:36:05 2024 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2 +
3   /*
4     ==================================================================
5     Bias compensation for photon density estimates
# Line 6 | Line 8
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$
# Line 20 | Line 21
21  
22     #include "pmapdata.h"
23  
24 + #ifdef __cplusplus
25 + extern "C" {
26 + #endif
27 +
28     /* Bias compensation weighting function */
29     /* #define BIASCOMP_WGT(n) 1 */
30     /* #define BIASCOMP_WGT(n) (n) */
# Line 30 | Line 35
35     /* Dump photon bandwidth for bias compensated density estimates */
36     /* #define BIASCOMP_BWIDTH */
37  
33
38     void biasComp (PhotonMap*, COLOR);
39     /* Photon density estimate with bias compensation, returning irradiance.
40        Expects photons in search queue after a kd-tree lookup. */
# Line 38 | Line 42
42     void volumeBiasComp (PhotonMap*, const RAY*, COLOR);  
43     /* Photon volume density estimate with bias compensation, returning
44        irradiance. Expects photons in search queue after a kd-tree lookup. */
45 +
46 + #ifdef __cplusplus
47 + }
48 + #endif
49  
50   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines