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 2.14 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.15 by greg, Fri Apr 15 04:44:52 2005 UTC

# Line 373 | Line 373 | vstestvis(             /* pretest source visibility */
373                          if (!srcray(&sr, NULL, &si) || sr.rsrc != sn)
374                                  continue;       /* can't get there from here */
375                  }
376 <                sr.revf = srcvalue;
377 <                rayvalue(&sr);                  /* check sample validity */
376 >                srcvalue(&sr);                  /* check sample validity */
377                  if (bright(sr.rcol) <= FTINY)
378                          continue;
379                  nok++;                  /* got sample; check obstructions */
380                  rayclear(&sr);
382                sr.revf = raytrace;
381                  rayvalue(&sr);
382                  if (bright(sr.rcol) > FTINY)
383                          nhit++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines