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

Comparing ray/src/rt/ambient.c (file contents):
Revision 2.123 by greg, Fri Apr 5 01:10:26 2024 UTC vs.
Revision 2.126 by greg, Mon Dec 9 00:44:29 2024 UTC

# Line 382 | Line 382 | plugaleak(RAY *r, AMBVAL *ap, FVECT anorm, double ang)
382          rtst.rmax = normalize(rtst.rdir);       /* short ray test */
383          while (localhit(&rtst, &thescene)) {    /* check for occluder */
384                  OBJREC  *m = findmaterial(rtst.ro);
385 <                if (m != NULL && !istransp(m->otype) && !isBSDFproxy(m) &&
385 >                if (m != NULL && !istransp(m) && !isBSDFproxy(m) &&
386                                  (rtst.clipset == NULL ||
387                                          !inset(rtst.clipset, rtst.ro->omod)))
388                          return(1);              /* plug light leak */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines