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

Comparing ray/src/rt/m_mirror.c (file contents):
Revision 2.14 by greg, Thu Aug 29 15:37:16 2013 UTC vs.
Revision 2.15 by greg, Sat Jan 25 18:27:39 2014 UTC

# Line 56 | Line 56 | m_mirror(                      /* shade mirrored ray */
56          if (r->rsrc >= 0 && source[r->rsrc].so != r->ro)
57                  return(1);
58  
59 <        if (r->rod < 0.)                /* back is black */
59 >        if (r->rod < 0.) {              /* back is black */
60 >                if (!backvis)
61 >                        raytrans(r);    /* unless back visibility is off */
62                  return(1);
63 +        }
64                                          /* get modifiers */
65          raytexture(r, m->omod);
66                                          /* assign material color */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines