ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapcontrib.h
Revision: 2.3
Committed: Tue Aug 18 18:45:55 2015 UTC (8 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.2: +2 -1 lines
Log Message:
Added missing RCSid forgotten during initial check-in

File Contents

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