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

Comparing ray/src/rt/pmapmat.c (file contents):
Revision 2.21 by rschregle, Thu Dec 6 20:00:35 2018 UTC vs.
Revision 2.22 by rschregle, Mon Jan 13 17:12:19 2020 UTC

# Line 145 | Line 145 | void photonRay (const RAY *rayIn, RAY *rayOut,
145   }
146  
147  
148
148   static void addPhotons (const RAY *r)
149   /* Insert photon hits, where applicable */
150   {
151     if (!r -> rlvl)
152 <      /* Add direct photon map at primary hitpoint */
152 >      /* Add direct photon at primary hitpoint */
153        newPhoton(directPmap, r);
154     else {
155 <      /* Add global or precomputed photon map at indirect hitpoint */
155 >      /* Add global or precomputed photon at indirect hitpoint */
156        newPhoton(preCompPmap ? preCompPmap : globalPmap, r);
157  
158        /* Store caustic photon if specular flag set */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines