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

Comparing ray/src/rt/ambcomp.c (file contents):
Revision 2.83 by greg, Tue Nov 13 19:58:33 2018 UTC vs.
Revision 2.84 by greg, Tue Feb 26 00:37:54 2019 UTC

# Line 293 | Line 293 | samp_hemi(                             /* sample indirect hemisphere */
293                  hp->sampOK *= -1;       /* soft failure */
294                  return(hp);
295          }
296 +        if (hp->sampOK < 64)
297 +                return(hp);             /* insufficient for super-sampling */
298          n = ambssamp*wt + 0.5;
299          if (n > 8) {                    /* perform super-sampling? */
300                  ambsupersamp(hp, n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines