--- ray/src/hd/rholo.h 1999/01/31 10:56:57 3.18 +++ ray/src/hd/rholo.h 1999/03/04 10:29:23 3.20 @@ -34,6 +34,11 @@ typedef struct { #define packra(p) ((RAYVAL *)((p)+1)) typedef struct { + int nb; /* number of beams in list */ + PACKHEAD *bl; /* allocated beam list */ +} BEAMLIST; /* a list of beam requests */ + +typedef struct { FVECT vpt; /* view (eye point) position */ double rng; /* desired mean radius for sample rays */ } VIEWPOINT; /* target eye position */ @@ -78,6 +83,7 @@ typedef struct { #define BS_ADD 2 /* add to current set */ #define BS_ADJ 3 /* adjust current set quantities */ #define BS_DEL 4 /* delete from current set */ +#define BS_MAX 5 /* set to max of old and new */ extern char *progname; /* our program name */ extern char *hdkfile; /* holodeck file name */ @@ -94,7 +100,7 @@ extern int nowarn; /* turn warnings off? */ extern int ncprocs; /* number of requested compute processes */ extern int nprocs; /* number of running compute processes */ -extern double expval; /* global exposure value */ +extern int chunkycmp; /* using "chunky" comparison mode */ extern VIEWPOINT myeye; /* target view position */ @@ -109,3 +115,5 @@ extern int rtargc; /* rtrace command */ extern char *rtargv[]; extern PACKET *do_packets(), *get_packets(), *flush_queue(); + +extern int2 *viewbeams();