1 |
+ |
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
|
================================================================== |
5 |
|
Photon map support routines for emission from light sources |
6 |
|
|
7 |
|
Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) |
8 |
|
(c) Fraunhofer Institute for Solar Energy Systems, |
9 |
< |
Lucerne University of Applied Sciences & Arts |
9 |
> |
(c) Lucerne University of Applied Sciences and Arts, |
10 |
> |
supported by the Swiss National Science Foundation (SNSF, #147053) |
11 |
|
================================================================== |
12 |
|
|
13 |
|
$Id$ |
55 |
|
|
56 |
|
|
57 |
|
|
58 |
< |
/* Photon port list for emission from geometry en lieu of light sources */ |
58 |
> |
/* Photon ports for emission from geometry en lieu of light sources */ |
59 |
> |
extern char *photonPortList [MAXSET + 1]; |
60 |
|
extern SRCREC *photonPorts; |
61 |
|
extern unsigned numPhotonPorts; |
62 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
< |
void getPhotonPorts (); |
71 |
< |
/* Find geometry declared as photon ports */ |
70 |
> |
void getPhotonPorts (char **portList); |
71 |
> |
/* Find geometry declared as photon ports from modifiers in portList */ |
72 |
|
|
73 |
|
void initPhotonEmissionFuncs (); |
74 |
|
/* Init photonPartition[] and photonOrigin[] dispatch tables with source |