1 |
/* RCSid $Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $ */ |
2 |
|
3 |
/* |
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 |
(c) Lucerne University of Applied Sciences and Arts, |
10 |
supported by the Swiss National Science Foundation (SNSF, #147053) |
11 |
================================================================== |
12 |
|
13 |
$Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $ |
14 |
*/ |
15 |
|
16 |
/* Include after ray.h */ |
17 |
|
18 |
#ifdef __cplusplus |
19 |
extern "C" { |
20 |
#endif |
21 |
|
22 |
void ray_init_pmap (void); |
23 |
/* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */ |
24 |
|
25 |
void ray_done_pmap (void); |
26 |
/* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */ |
27 |
|
28 |
void ray_save_pmap (RAYPARAMS *rp); |
29 |
/* Interface to ray_save(); save photon map params */ |
30 |
|
31 |
void ray_restore_pmap (RAYPARAMS *rp); |
32 |
/* Interface to ray_restore(); restore photon mapping params */ |
33 |
|
34 |
void ray_defaults_pmap (RAYPARAMS *rp); |
35 |
/* Interface to ray_defaults(); set photon mapping defaults */ |
36 |
|
37 |
#ifdef __cplusplus |
38 |
} |
39 |
#endif |