ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapcontrib.h
Revision: 2.5
Committed: Tue May 17 17:39:47 2016 UTC (7 years, 11 months ago) by rschregle
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad5R3, rad5R1, HEAD
Changes since 2.4: +6 -4 lines
Log Message:
Initial import of ooC photon map

File Contents

# Content
1 /* RCSid $Id: pmapcontrib.h,v 4.12.1.1 2015/10/30 20:12:57 taschreg Exp taschreg $ */
2
3 /*
4 ==================================================================
5 Photon map support for light source contributions
6
7 Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
8 (c) Lucerne University of Applied Sciences and Arts,
9 supported by the Swiss National Science Foundation (SNSF, #147053)
10 ==================================================================
11
12 $Id: pmapcontrib.h,v 4.12.1.1 2015/10/30 20:12:57 taschreg Exp taschreg $
13 */
14
15 #ifndef PMAPCONTRIB_H
16 #define PMAPCONTRIB_H
17
18 #include "pmapdata.h"
19
20 void initPmapContrib (LUTAB *srcContrib, unsigned numSrcContrib);
21 /* Set up photon map contributions (interface to rcmain.c) */
22
23 void distribPhotonContrib (PhotonMap *pmap, unsigned numProc);
24 /* Emit photons from light sources with tagged contributions, and
25 * build photon map */
26
27 void photonContrib (PhotonMap *pmap, RAY *ray, COLOR irrad);
28 /* Accumulate light source contributions in pmap -> srcMods from
29 * photons, and return cumulative irradiance from density esimate */
30
31 #endif