--- ray/src/rt/pmapsrc.h 2015/09/01 16:27:53 2.4 +++ ray/src/rt/pmapsrc.h 2018/03/20 19:55:33 2.6 @@ -1,4 +1,5 @@ -/* RCSid $Id: pmapsrc.h,v 2.4 2015/09/01 16:27:53 greg Exp $ */ +/* RCSid $Id: pmapsrc.h,v 2.6 2018/03/20 19:55:33 rschregle Exp $ */ + /* ================================================================== Photon map support routines for emission from light sources @@ -9,6 +10,7 @@ supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== + $Id: pmapsrc.h,v 2.6 2018/03/20 19:55:33 rschregle Exp $ */ @@ -53,7 +55,8 @@ - /* Photon port list for emission from geometry en lieu of light sources */ + /* Photon ports for emission from geometry en lieu of light sources */ + extern char *photonPortList [MAXSET + 1]; extern SRCREC *photonPorts; extern unsigned numPhotonPorts; @@ -64,8 +67,8 @@ - void getPhotonPorts (); - /* Find geometry declared as photon ports */ + void getPhotonPorts (char **portList); + /* Find geometry declared as photon ports from modifiers in portList */ void initPhotonEmissionFuncs (); /* Init photonPartition[] and photonOrigin[] dispatch tables with source