1 |
< |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
1 |
> |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ SGI" */ |
4 |
|
|
33 |
|
#define packsiz(nr) (sizeof(PACKHEAD)+(nr)*sizeof(RAYVAL)) |
34 |
|
#define packra(p) ((RAYVAL *)((p)+1)) |
35 |
|
|
36 |
+ |
typedef struct { |
37 |
+ |
FVECT vpt; /* view (eye point) position */ |
38 |
+ |
double rng; /* desired mean radius for sample rays */ |
39 |
+ |
} VIEWPOINT; /* target eye position */ |
40 |
+ |
|
41 |
|
/* input variables */ |
42 |
|
#define CACHE 0 /* amount of memory to use as cache */ |
43 |
|
#define DISKSPACE 1 /* how much disk space to use */ |
91 |
|
extern int nprocs; /* number of running compute processes */ |
92 |
|
|
93 |
|
extern double expval; /* global exposure value */ |
94 |
+ |
|
95 |
+ |
extern VIEWPOINT myeye; /* target view position */ |
96 |
|
|
97 |
|
extern time_t starttime; /* time we got started */ |
98 |
|
extern time_t endtime; /* time we should end by */ |