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

Comparing ray/src/hd/rhdriver.h (file contents):
Revision 3.17 by gwlarson, Thu Dec 10 10:45:55 1998 UTC vs.
Revision 3.18 by gwlarson, Fri Dec 18 11:56:10 1998 UTC

# Line 13 | Line 13 | extern struct driver {
13          VIEW    v;              /* base view parameters */
14          int     hres, vres;     /* base view resolution */
15          int     ifd;            /* input file descriptor (for select) */
16 +        int     firstuse;       /* non-zero if driver can't recycle samples */
17          int     inpready;       /* number of unprocessed input events */
18   } odev;                 /* our open device */
19  
# Line 132 | Line 133 | views.  The zeroeth auxiliary view is the base view it
133  
134  
135   void
136 + dev_section(otf)        : add octree geometry for rendering
137 + char    *otf;           : octree and portal file names
138 +
139 + Add the given octree file to the list of geometry to be used to render
140 + intermediate views if direct geometry rendering is available.  Additional
141 + file names (separated by spaces) are Radiance scene files containing
142 + the geometry for "portals" to separate sections.  The given
143 + character string is guaranteed to be static (or permanently allocated)
144 + such that it may be safely stored as a pointer.  The same pointer or
145 + file list may be (and often is) given repeatedly.  If a given octree
146 + does not exist, the call should be silently ignored.  If otn is NULL,
147 + then the last octree has been given, and the display can be updated
148 + with the new information.
149 +
150 +
151 + void
152   dev_close()             : close the display
153  
154   Close the display device and free up resources in preparation for exit.
# Line 142 | Line 159 | Set odev.v.type=0 and odev.hres=odev.vres=0 when done.
159  
160  
161   extern VIEW     *dev_auxview();
162 +
163 + extern int      *beam_view();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines