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

Comparing ray/src/rt/normal.c (file contents):
Revision 2.8 by greg, Wed Jan 15 16:59:52 1992 UTC vs.
Revision 2.9 by greg, Thu Jan 16 12:05:29 1992 UTC

# Line 194 | Line 194 | register RAY  *r;
194                                                  /* check threshold */
195                  if (specthresh > FTINY &&
196                                  ((specthresh >= 1.-FTINY ||
197 <                                specthresh + (.1 - .2*urand(8199+samplendx))
197 >                                specthresh + (.05 - .1*urand(8199+samplendx))
198                                          > nd.rspec)))
199                          nd.specfl |= SP_RBLT;
200                                                  /* compute reflected ray */
# Line 225 | Line 225 | register RAY  *r;
225                          if (specthresh > FTINY &&
226                                          ((specthresh >= 1.-FTINY ||
227                                          specthresh +
228 <                                            (.1 - .2*urand(7241+samplendx))
228 >                                            (.05 - .1*urand(7241+samplendx))
229                                                  > nd.tspec)))
230                                  nd.specfl |= SP_TBLT;
231                          if (r->crtype & SHADOW ||

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines