--- ray/src/hd/rholo.h 1999/01/31 10:56:57 3.18 +++ ray/src/hd/rholo.h 2003/02/22 02:07:25 3.21 @@ -1,7 +1,4 @@ -/* Copyright (c) 1998 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid: $Id: rholo.h,v 3.21 2003/02/22 02:07:25 greg Exp $ */ /* * Header file for rholo program */ @@ -34,6 +31,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 +80,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 +97,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 +112,5 @@ extern int rtargc; /* rtrace command */ extern char *rtargv[]; extern PACKET *do_packets(), *get_packets(), *flush_queue(); + +extern int2 *viewbeams();