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

Comparing ray/src/rt/aniso.c (file contents):
Revision 2.7 by greg, Wed Jan 15 16:59:55 1992 UTC vs.
Revision 2.8 by greg, Thu Jan 16 12:05:32 1992 UTC

# Line 209 | Line 209 | register RAY  *r;
209                                                  /* check threshold */
210                  if (specthresh > FTINY &&
211                                  ((specthresh >= 1.-FTINY ||
212 <                                specthresh + (.1 - .2*urand(8199+samplendx))
212 >                                specthresh + (.05 - .1*urand(8199+samplendx))
213                                          > nd.rspec)))
214                          nd.specfl |= SP_RBLT;
215                                                  /* compute refl. direction */
# Line 240 | Line 240 | register RAY  *r;
240                          if (specthresh > FTINY &&
241                                          ((specthresh >= 1.-FTINY ||
242                                          specthresh +
243 <                                            (.1 - .2*urand(7241+samplendx))
243 >                                            (.05 - .1*urand(7241+samplendx))
244                                                  > nd.tspec)))
245                                  nd.specfl |= SP_TBLT;
246                          if (r->crtype & SHADOW ||

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines