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.29 by gregl, Tue Dec 23 18:25:15 1997 UTC vs.
Revision 2.30 by gwlarson, Wed Apr 29 09:50:41 1998 UTC

# Line 269 | Line 269 | double  coef;
269                  backmat = rayshade(&br, back);
270                                          /* check for transparency */
271          if (backmat ^ foremat)
272 <                if (backmat)
272 >                if (backmat && coef > FTINY)
273                          raytrans(&fr);
274 <                else
274 >                else if (foremat && coef < 1.0-FTINY)
275                          raytrans(&br);
276                                          /* mix perturbations */
277          for (i = 0; i < 3; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines