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.103 by greg, Mon Aug 12 18:57:00 2024 UTC vs.
Revision 2.107 by greg, Sat Jan 25 04:57:56 2025 UTC

# Line 119 | Line 119 | time_t  tstart;                                /* starting time */
119  
120   int  hres, vres;                        /* resolution for this frame */
121  
122 + extern void     sskip_ray(RAY *r, double h, double v);
123 +
124   static VIEW     lastview;               /* the previous view input */
125  
126   static void report(int);
# Line 287 | Line 289 | rpict(                 /* generate image(s) */
289          do {
290                  if (seq && nextview(stdin) == EOF)
291                          break;
292 +                lastview.type *= seq > 1;
293                  pctdone = 0.0;
294                  if (pout != NULL) {
295                          int     myfd;
# Line 474 | Line 477 | render(                                /* render the scene */
477                                                          /* fill bar */
478                  fillscanbar(scanbar, zbar, hres, ypos, ystep);
479                  if (srcdrawing)                         /* add bitty sources */
480 <                        drawsources((COLORV **)scanbar, 3, zbar, 0, hres, ypos, ystep);
480 >                        drawsources((COLORV **)scanbar, out_prims, zbar, 0, hres, ypos, ystep);
481                                                          /* write it out */
482   #ifdef SIGCONT
483                  signal(SIGCONT, SIG_IGN);       /* don't interrupt writes */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines