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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.67 by greg, Thu May 21 15:28:24 2015 UTC vs.
Revision 2.68 by greg, Fri May 22 09:19:11 2015 UTC

# Line 108 | Line 108 | rayorigin(             /* start new ray from old one */
108          if (r->crtype & SHADOW)                 /* shadow commitment */
109                  return(0);
110                                                  /* ambient in photon map? */
111 <        if (r->crtype & AMBIENT && photonMapping)
111 >        if (photonMapping && ro != NULL && ro->crtype & AMBIENT)
112                  return(-1);
113          if (maxdepth <= 0 && rc != NULL) {      /* Russian roulette */
114                  if (minweight <= 0.0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines