ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapsrc.h
(Generate patch)

Comparing ray/src/rt/pmapsrc.h (file contents):
Revision 2.2 by rschregle, Fri May 8 13:20:23 2015 UTC vs.
Revision 2.7 by rschregle, Fri Aug 7 01:21:13 2020 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2 +
3   /*
4 <   ==================================================================
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 +       supported by the German Research Foundation (DFG)
10 +       under the FARESYS project.
11     (c) Lucerne University of Applied Sciences and Arts,
12 <   supported by the Swiss National Science Foundation (SNSF, #147053)
13 <   ==================================================================
12 >       supported by the Swiss National Science Foundation (SNSF #147053).
13 >   (c) Tokyo University of Science,
14 >       supported by the JSPS KAKENHI Grant Number JP19KK0115.
15 >   ======================================================================
16    
17     $Id$
18   */
# Line 52 | Line 58
58     } EmissionMap;
59  
60  
61 +  
62 +   /* Photon port flags (orientation relative to surface normal):
63 +    * Forward, backward, both (bidirectional). */
64 +   #define PMAP_PORTFWD 1
65 +   #define PMAP_PORTBWD 2
66 +   #define PMAP_PORTBI  (PMAP_PORTFWD | PMAP_PORTBWD)
67 +  
68  
69 <   /* Photon port list for emission from geometry en lieu of light sources */
69 >   /* Photon ports for emission from geometry en lieu of light sources */
70 >   extern char *photonPortList [MAXSET + 1];
71     extern SRCREC *photonPorts;
72     extern unsigned numPhotonPorts;
73  
# Line 64 | Line 78
78  
79  
80  
81 <   void getPhotonPorts ();
82 <   /* Find geometry declared as photon ports */
81 >   void getPhotonPorts (char **portList);
82 >   /* Find geometry declared as photon ports from modifiers in portList */
83  
84     void initPhotonEmissionFuncs ();
85     /* Init photonPartition[] and photonOrigin[] dispatch tables with source

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines