| 38 |  | #define SECTION         1               /* holodeck section boundaries */ | 
| 39 |  | #define OCTREE          2               /* octree file name */ | 
| 40 |  | #define RIF             3               /* rad input file */ | 
| 41 | < | #define EXPOSURE        4               /* section exposure value */ | 
| 42 | < | #define TIME            5               /* maximum rendering time */ | 
| 43 | < | #define DISKSPACE       6               /* how much disk space to use */ | 
| 44 | < | #define CACHE           7               /* amount of memory to use as cache */ | 
| 45 | < | #define GRID            8               /* target grid size */ | 
| 46 | < | #define OBSTRUCTIONS    9               /* shall we track obstructions? */ | 
| 47 | < | #define VDIST           10              /* virtual distance calculation */ | 
| 48 | < | #define OCCUPANCY       11              /* expected occupancy probability */ | 
| 49 | < | #define REPORT          12              /* report interval and error file */ | 
| 41 | > | #define TIME            4               /* maximum rendering time */ | 
| 42 | > | #define DISKSPACE       5               /* how much disk space to use */ | 
| 43 | > | #define CACHE           6               /* amount of memory to use as cache */ | 
| 44 | > | #define GRID            7               /* target grid size */ | 
| 45 | > | #define OBSTRUCTIONS    8               /* shall we track obstructions? */ | 
| 46 | > | #define VDIST           9               /* virtual distance calculation */ | 
| 47 | > | #define REPORT          10              /* report interval and error file */ | 
| 48 | > | #define EYESEP          11              /* eye separation distance */ | 
| 49 |  |  | 
| 50 | < | #define NRHVARS         13              /* number of variables */ | 
| 50 | > | #define NRHVARS         12              /* number of variables */ | 
| 51 |  |  | 
| 52 |  | #define RHVINIT { \ | 
| 53 |  | {"render",      3,      0,      NULL,   catvalues}, \ | 
| 54 |  | {"section",     3,      0,      NULL,   NULL}, \ | 
| 55 |  | {"OCTREE",      3,      0,      NULL,   onevalue}, \ | 
| 56 |  | {"RIF",         3,      0,      NULL,   onevalue}, \ | 
| 58 | – | {"EXPOSURE",    3,      0,      NULL,   fltvalue}, \ | 
| 57 |  | {"TIME",        2,      0,      NULL,   fltvalue}, \ | 
| 58 |  | {"DISKSPACE",   3,      0,      NULL,   fltvalue}, \ | 
| 59 |  | {"CACHE",       2,      0,      NULL,   fltvalue}, \ | 
| 60 |  | {"GRID",        2,      0,      NULL,   fltvalue}, \ | 
| 61 |  | {"OBSTRUCTIONS",3,      0,      NULL,   boolvalue}, \ | 
| 62 |  | {"VDISTANCE",   2,      0,      NULL,   boolvalue}, \ | 
| 65 | – | {"OCCUPANCY",   3,      0,      NULL,   onevalue}, \ | 
| 63 |  | {"REPORT",      3,      0,      NULL,   onevalue}, \ | 
| 64 | + | {"EYESEP",      3,      0,      NULL,   fltvalue}, \ | 
| 65 |  | } | 
| 66 |  |  | 
| 67 |  | /* bundle set requests */ | 
| 76 |  |  | 
| 77 |  | extern char     *outdev;        /* output device name */ | 
| 78 |  |  | 
| 79 | + | extern int      readinp;        /* read input from stdin */ | 
| 80 | + |  | 
| 81 | + | extern int      force;          /* allow overwrite of holodeck */ | 
| 82 | + |  | 
| 83 |  | extern int      nowarn;         /* turn warnings off? */ | 
| 84 |  |  | 
| 85 | < | extern int      ncprocs;        /* number of compute processes */ | 
| 85 | > | extern int      ncprocs;        /* number of requested compute processes */ | 
| 86 | > | extern int      nprocs;         /* number of running compute processes */ | 
| 87 |  |  | 
| 88 |  | extern double   expval;         /* global exposure value */ | 
| 89 |  |  | 
| 90 |  | extern time_t   starttime;      /* time we got started */ | 
| 91 |  | extern time_t   endtime;        /* time we should end by */ | 
| 92 |  | extern time_t   reporttime;     /* time for next report */ | 
| 93 | + |  | 
| 94 | + | extern long     nraysdone;      /* number of rays done */ | 
| 95 | + | extern long     npacksdone;     /* number of packets done */ | 
| 96 |  |  | 
| 97 |  | extern int      rtargc;         /* rtrace command */ | 
| 98 |  | extern char     *rtargv[]; |