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

Comparing ray/src/rt/rpict.c (file contents):
Revision 2.47 by greg, Sat Jun 8 21:16:06 1996 UTC vs.
Revision 2.48 by gregl, Mon Oct 20 16:46:37 1997 UTC

# Line 404 | Line 404 | char  *zfile, *oldfile;
404   #endif
405          signal(SIGCONT, report);
406          ypos = vres-1 - i;                      /* initialize sampling */
407 <        init_drawsources(psample);
407 >        if (directvis)
408 >                init_drawsources(psample);
409          fillscanline(scanbar[0], zbar[0], sampdens, hres, ypos, hstep);
410                                                  /* compute scanlines */
411          for (ypos -= ystep; ypos > -ystep; ypos -= ystep) {
# Line 424 | Line 425 | char  *zfile, *oldfile;
425                                  hres, ypos, hstep);
426                                                          /* fill bar */
427                  fillscanbar(scanbar, zbar, hres, ypos, ystep);
428 <                                                        /* add bitty sources */
429 <                drawsources(scanbar, zbar, 0, hres, ypos, ystep);
428 >                if (directvis)                          /* add bitty sources */
429 >                        drawsources(scanbar, zbar, 0, hres, ypos, ystep);
430                                                          /* write it out */
431   #ifndef  BSD
432                  signal(SIGCONT, SIG_IGN);       /* don't interrupt writes */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines