1 |
|
/* RCSid $Id$ */ |
2 |
+ |
|
3 |
|
/* |
4 |
|
================================================================== |
5 |
|
Photon map support routines for emission from light sources |
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 |