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

Comparing ray/src/rt/virtuals.c (file contents):
Revision 1.25 by greg, Thu Aug 22 11:56:52 1991 UTC vs.
Revision 1.26 by greg, Mon Aug 26 10:10:43 1991 UTC

# Line 287 | Line 287 | register int  sn;      /* target source number */
287          getplaneq(onorm, o);
288                                  /* set number of rays to sample */
289          if (source[sn].sflags & SDISTANT) {
290 <                n = 4.*or2/(thescene.cusize*thescene.cusize)*vspretest + .5;
290 >                                        /* 32. == heuristic constant */
291 >                n = 32.*or2/(thescene.cusize*thescene.cusize)*vspretest + .5;
292                  infront = DOT(onorm, source[sn].sloc) > 0.;
293          } else {
294                  for (i = 0; i < 3; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines