ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapcontrib.h
Revision: 2.4
Committed: Tue Sep 1 16:27:52 2015 UTC (8 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad5R0
Changes since 2.3: +1 -2 lines
Log Message:
Removed redundant $Id: in file

File Contents

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