--- ray/src/hd/rholo.h 1997/12/01 16:31:50 3.6 +++ ray/src/hd/rholo.h 1997/12/12 18:33:51 3.11 @@ -38,24 +38,22 @@ typedef struct { #define SECTION 1 /* holodeck section boundaries */ #define OCTREE 2 /* octree file name */ #define RIF 3 /* rad input file */ -#define EXPOSURE 4 /* section exposure value */ -#define TIME 5 /* maximum rendering time */ -#define DISKSPACE 6 /* how much disk space to use */ -#define CACHE 7 /* amount of memory to use as cache */ -#define GRID 8 /* target grid size */ -#define OBSTRUCTIONS 9 /* shall we track obstructions? */ -#define VDIST 10 /* virtual distance calculation */ -#define OCCUPANCY 11 /* expected occupancy probability */ -#define REPORT 12 /* report interval and error file */ +#define TIME 4 /* maximum rendering time */ +#define DISKSPACE 5 /* how much disk space to use */ +#define CACHE 6 /* amount of memory to use as cache */ +#define GRID 7 /* target grid size */ +#define OBSTRUCTIONS 8 /* shall we track obstructions? */ +#define VDIST 9 /* virtual distance calculation */ +#define OCCUPANCY 10 /* expected occupancy probability */ +#define REPORT 11 /* report interval and error file */ -#define NRHVARS 13 /* number of variables */ +#define NRHVARS 12 /* number of variables */ #define RHVINIT { \ {"render", 3, 0, NULL, catvalues}, \ {"section", 3, 0, NULL, NULL}, \ {"OCTREE", 3, 0, NULL, onevalue}, \ {"RIF", 3, 0, NULL, onevalue}, \ - {"EXPOSURE", 3, 0, NULL, fltvalue}, \ {"TIME", 2, 0, NULL, fltvalue}, \ {"DISKSPACE", 3, 0, NULL, fltvalue}, \ {"CACHE", 2, 0, NULL, fltvalue}, \ @@ -78,15 +76,23 @@ extern char froot[]; /* root file name */ extern char *outdev; /* output device name */ +extern int readinp; /* read input from stdin */ + +extern int force; /* allow overwrite of holodeck */ + extern int nowarn; /* turn warnings off? */ -extern int ncprocs; /* number of compute processes */ +extern int ncprocs; /* number of requested compute processes */ +extern int nprocs; /* number of running compute processes */ extern double expval; /* global exposure value */ extern time_t starttime; /* time we got started */ extern time_t endtime; /* time we should end by */ extern time_t reporttime; /* time for next report */ + +extern long nraysdone; /* number of rays done */ +extern long npacksdone; /* number of packets done */ extern int rtargc; /* rtrace command */ extern char *rtargv[];