ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapray.h
Revision: 2.7
Committed: Fri Mar 22 16:54:16 2024 UTC (8 weeks ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 2.6: +3 -5 lines
Log Message:
fix: added check for > 3 spectral samples with photon-mapping

File Contents

# User Rev Content
1 greg 2.7 /* RCSid $Id: pmapray.h,v 2.6 2016/11/02 22:09:14 greg Exp $ */
2 rschregle 2.5
3 greg 2.1 /*
4     ==================================================================
5     Photon map interface to RADIANCE raycalls
6    
7     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
8     (c) Fraunhofer Institute for Solar Energy Systems,
9 rschregle 2.2 (c) Lucerne University of Applied Sciences and Arts,
10     supported by the Swiss National Science Foundation (SNSF, #147053)
11 greg 2.1 ==================================================================
12    
13 greg 2.7 $Id: pmapray.h,v 2.6 2016/11/02 22:09:14 greg Exp $
14 greg 2.1 */
15    
16 greg 2.7 /* Include after ray.h */
17 greg 2.1
18     void ray_init_pmap ();
19     /* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */
20    
21     void ray_done_pmap ();
22     /* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */
23    
24     void ray_save_pmap (RAYPARAMS *rp);
25     /* Interface to ray_save(); save photon map params */
26    
27     void ray_restore_pmap (RAYPARAMS *rp);
28     /* Interface to ray_restore(); restore photon mapping params */
29 greg 2.6
30     void ray_defaults_pmap (RAYPARAMS *rp);
31     /* Interface to ray_defaults(); set photon mapping defaults */