ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rholo.h
(Generate patch)

Comparing ray/src/hd/rholo.h (file contents):
Revision 3.15 by gwlarson, Wed Aug 26 12:42:27 1998 UTC vs.
Revision 3.17 by gwlarson, Fri Dec 18 11:56:10 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   /* SCCSid "$SunId$ SGI" */
4  
# Line 33 | Line 33 | typedef struct {
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 */
# Line 40 | Line 45 | typedef struct {
45   #define GRID            3               /* target grid size */
46   #define OBSTRUCTIONS    4               /* shall we track obstructions? */
47   #define OCTREE          5               /* octree file name */
48 < #define RENDER          6               /* rendering options */
49 < #define REPORT          7               /* report interval and error file */
50 < #define RIF             8               /* rad input file */
51 < #define SECTION         9               /* holodeck section boundaries */
52 < #define TIME            10              /* maximum rendering time */
53 < #define VDIST           11              /* virtual distance calculation */
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 */
55  
56 < #define NRHVARS         12              /* number of variables */
56 > #define NRHVARS         13              /* number of variables */
57  
58   #define RHVINIT { \
59          {"CACHE",       2,      0,      NULL,   fltvalue}, \
# Line 56 | Line 62 | typedef struct {
62          {"GRID",        2,      0,      NULL,   fltvalue}, \
63          {"OBSTRUCTIONS",3,      0,      NULL,   boolvalue}, \
64          {"OCTREE",      3,      0,      NULL,   onevalue}, \
65 +        {"osection",    2,      0,      NULL,   NULL}, \
66          {"render",      3,      0,      NULL,   catvalues}, \
67          {"REPORT",      3,      0,      NULL,   onevalue}, \
68          {"RIF",         3,      0,      NULL,   onevalue}, \
# Line 86 | Line 93 | extern int     ncprocs;        /* number of requested compute pro
93   extern int      nprocs;         /* number of running compute processes */
94  
95   extern double   expval;         /* global exposure value */
96 +
97 + extern VIEWPOINT        myeye;  /* target view position */
98  
99   extern time_t   starttime;      /* time we got started */
100   extern time_t   endtime;        /* time we should end by */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines