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

Comparing ray/src/rt/glass.c (file contents):
Revision 2.23 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.24 by rschregle, Wed May 20 13:11:25 2015 UTC

# Line 60 | Line 60 | m_glass(               /* color a ray which hit a thin glass surfac
60          RAY  p;
61          int  i;
62  
63 <        /* PMAP: skip refracted shadow ray if accounted for in photon map */
64 <   if (shadowRayInPmap(r))
63 >        /* PMAP: skip refracted shadow or ambient ray if accounted for in
64 >           photon map */
65 >   if (shadowRayInPmap(r) || ambRayInPmap(r))
66                  return(1);
67                                                  /* check arguments */
68          if (m->oargs.nfargs == 3)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines