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 1.16 by greg, Tue Aug 20 10:05:18 1991 UTC vs.
Revision 1.17 by greg, Thu Aug 29 11:13:14 1991 UTC

# Line 235 | Line 235 | int  al;
235          FVECT   gp, gd;
236                                                  /* compute weight */
237          amb.weight = pow(AVGREFL, (double)al);
238 <        if (r->rweight < 0.1*amb.weight)        /* heuristic */
238 >        if (r->rweight < 0.2*amb.weight)        /* heuristic */
239                  amb.weight = r->rweight;
240                                                  /* compute ambient */
241          amb.rad = doambient(acol, r, amb.weight, gp, gd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines