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 |
|
|
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. |
159 |
|
|
160 |
|
|
161 |
|
extern VIEW *dev_auxview(); |
162 |
+ |
|
163 |
+ |
extern int *beam_view(); |