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.1 by greg, Tue Nov 12 17:09:42 1991 UTC vs.
Revision 2.2 by greg, Wed Jan 15 10:36:42 1992 UTC

# Line 192 | Line 192 | double  s;
192                   *  Jittering final test reduces image artifacts.
193                   */
194                  wt = sqrt(e1) + sqrt(e2);
195 <                wt *= .9 + .2*frandom();
195 >                wt *= .9 + .2*urand(9015+samplendx);
196                  if (wt > ambacc)
197                          continue;
198                  if (wt <= 1e-3)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines