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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.47 by gwlarson, Wed Jan 20 13:28:49 1999 UTC vs.
Revision 3.48 by gwlarson, Tue Feb 2 16:13:24 1999 UTC

# Line 318 | Line 318 | rholo()                                /* holodeck main loop */
318          if (reporttime > 0 && t >= reporttime)
319                  report(t);
320                                          /* figure out good packet size */
321 +        pksiz = RPACKSIZ;
322   #if MAXQTIME
323 <        pksiz = nraysdone*MAXQTIME/(totqlen*(t - starttime + 1L));
324 <        if (pksiz < 1)
325 <                pksiz = 1;
326 <        else if (pksiz > RPACKSIZ)
323 >        if (!chunkycmp) {
324 >                pksiz = nraysdone*MAXQTIME/(totqlen*(t - starttime + 1L));
325 >                if (pksiz < 1) pksiz = 1;
326 >                else if (pksiz > RPACKSIZ) pksiz = RPACKSIZ;
327 >        }
328   #endif
327                pksiz = RPACKSIZ;
329          idle = 0;                       /* get packets to process */
330          while (freepacks != NULL) {
331                  p = freepacks; freepacks = p->next; p->next = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines