| 42 |
|
#define CACHE 0 /* amount of memory to use as cache */ |
| 43 |
|
#define DISKSPACE 1 /* how much disk space to use */ |
| 44 |
|
#define EYESEP 2 /* eye separation distance */ |
| 45 |
< |
#define GRID 3 /* target grid size */ |
| 46 |
< |
#define OBSTRUCTIONS 4 /* shall we track obstructions? */ |
| 47 |
< |
#define OCTREE 5 /* octree file name */ |
| 48 |
< |
#define OSECTION 6 /* section octree */ |
| 49 |
< |
#define RENDER 7 /* rendering options */ |
| 50 |
< |
#define REPORT 8 /* report interval and error file */ |
| 51 |
< |
#define RIF 9 /* rad input file */ |
| 52 |
< |
#define SECTION 10 /* holodeck section boundaries */ |
| 53 |
< |
#define TIME 11 /* maximum rendering time */ |
| 54 |
< |
#define VDIST 12 /* virtual distance calculation */ |
| 45 |
> |
#define GEOMETRY 3 /* section geometry */ |
| 46 |
> |
#define GRID 4 /* target grid size */ |
| 47 |
> |
#define OBSTRUCTIONS 5 /* shall we track obstructions? */ |
| 48 |
> |
#define OCTREE 6 /* octree file name */ |
| 49 |
> |
#define PORTS 7 /* section portals */ |
| 50 |
> |
#define RENDER 8 /* rendering options */ |
| 51 |
> |
#define REPORT 9 /* report interval and error file */ |
| 52 |
> |
#define RIF 10 /* rad input file */ |
| 53 |
> |
#define SECTION 11 /* holodeck section boundaries */ |
| 54 |
> |
#define TIME 12 /* maximum rendering time */ |
| 55 |
> |
#define VDIST 13 /* virtual distance calculation */ |
| 56 |
|
|
| 57 |
< |
#define NRHVARS 13 /* number of variables */ |
| 57 |
> |
#define NRHVARS 14 /* number of variables */ |
| 58 |
|
|
| 59 |
|
#define RHVINIT { \ |
| 60 |
|
{"CACHE", 2, 0, NULL, fltvalue}, \ |
| 61 |
|
{"DISKSPACE", 3, 0, NULL, fltvalue}, \ |
| 62 |
|
{"EYESEP", 3, 0, NULL, fltvalue}, \ |
| 63 |
+ |
{"geometry", 3, 0, NULL, NULL}, \ |
| 64 |
|
{"GRID", 2, 0, NULL, fltvalue}, \ |
| 65 |
|
{"OBSTRUCTIONS",3, 0, NULL, boolvalue}, \ |
| 66 |
|
{"OCTREE", 3, 0, NULL, onevalue}, \ |
| 67 |
< |
{"osection", 2, 0, NULL, NULL}, \ |
| 67 |
> |
{"portals", 3, 0, NULL, NULL}, \ |
| 68 |
|
{"render", 3, 0, NULL, catvalues}, \ |
| 69 |
|
{"REPORT", 3, 0, NULL, onevalue}, \ |
| 70 |
|
{"RIF", 3, 0, NULL, onevalue}, \ |
| 94 |
|
extern int ncprocs; /* number of requested compute processes */ |
| 95 |
|
extern int nprocs; /* number of running compute processes */ |
| 96 |
|
|
| 97 |
< |
extern double expval; /* global exposure value */ |
| 97 |
> |
extern int chunkycmp; /* using "chunky" comparison mode */ |
| 98 |
|
|
| 99 |
|
extern VIEWPOINT myeye; /* target view position */ |
| 100 |
|
|