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

Comparing ray/src/rt/source.c (file contents):
Revision 2.78 by greg, Wed Mar 30 16:40:03 2022 UTC vs.
Revision 2.79 by greg, Wed Jun 8 17:18:41 2022 UTC

# Line 766 | Line 766 | m_light(                               /* ray hit a light source */
766                  return(1);
767          }
768                                          /* otherwise treat as source */
769 <                                                /* check for behind */
770 <        if (r->rod < 0.0)
769 >        if (r->rod < 0.0) {                     /* check for behind */
770 >                if (!backvis)
771 >                        raytrans(r);            /* used to return black */
772                  return(1);
773 +        }
774                                                  /* check for outside spot */
775          if (m->otype==MAT_SPOT && spotout(r, makespot(m)))
776                  return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines