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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.25 by greg, Fri Sep 15 22:04:04 1995 UTC vs.
Revision 2.26 by greg, Sat Sep 16 10:30:52 1995 UTC

# Line 92 | Line 92 | int    PDesc[3] = {-1,-1,-1};          /* rtrace process descript
92   #define childpid        (PDesc[2])
93   unsigned short  queue[PACKSIZ][2];      /* pending pixels */
94   int     packsiz;                        /* actual packet size */
95 < int     queuesiz;                       /* number of pixels pending */
95 > int     queuesiz = 0;                   /* number of pixels pending */
96  
97   extern double   movepixel();
98  
# Line 924 | Line 924 | int    (*fill)();
924                  for (x = 0; x < hresolu; x++)
925                          if (zscan(y)[x] <= 0)
926                                  (*fill)(x,y);
927 +        if (fill == rcalfill)
928 +                clearqueue();
929   }
930  
931  
# Line 1178 | Line 1180 | clearqueue()                           /* process queue */
1180                  if (averaging) {
1181                          setcolor(sscan(queue[i][1])[queue[i][0]],
1182                                          fbp[0], fbp[1], fbp[2]);
1183 <                        wscan(queue[i][1])[queue[i][0]] = MAXWT;
1183 >                        wscan(queue[i][1])[queue[i][0]] = 1;
1184                  } else
1185                          setcolr(pscan(queue[i][1])[queue[i][0]],
1186                                          fbp[0], fbp[1], fbp[2]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines