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

Comparing ray/src/hd/rholo2l.c (file contents):
Revision 3.6 by gregl, Mon Dec 1 16:32:49 1997 UTC vs.
Revision 3.8 by gregl, Thu Dec 11 11:51:20 1997 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ SGI";
16   #include <sys/time.h>
17  
18   #ifndef MAXPROC
19 < #define MAXPROC         16
19 > #define MAXPROC         64
20   #endif
21  
22 + int     nprocs = 0;                             /* running process count */
23 +
24   static char     pfile[] = TEMPLATE;             /* persist file name */
25  
26   static int      rtpd[MAXPROC][3];               /* process descriptors */
27   static float    *rtbuf = NULL;                  /* allocated i/o buffer */
28   static int      maxqlen = 0;                    /* maximum packets per queue */
27 static int      nprocs = 0;                     /* number of processes */
29  
30   static PACKET   *pqueue[MAXPROC];               /* packet queues */
31   static int      pqlen[MAXPROC];                 /* packet queue lengths */
# Line 56 | Line 57 | start_rtrace()                 /* start rtrace process */
57          rtargv[rtargc++] = "-y"; rtargv[rtargc++] = "0";
58          rtargv[rtargc++] = "-fff";
59          rtargv[rtargc++] = vbool(VDIST) ? "-ovl" : "-ovL";
60 <        rtargv[rtargc++] = nowarn ? "-w-" : "-w+";
60 >        if (nowarn)
61 >                rtargv[rtargc++] = "-w-";
62          if (npt > 1) {
63                  mktemp(pfile);
64                  rtargv[rtargc++] = "-PP"; rtargv[rtargc++] = pfile;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines