| 1 |
< |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
< |
|
| 3 |
< |
/* SCCSid "$SunId$ SGI" */ |
| 4 |
< |
|
| 1 |
> |
/* RCSid: $Id$ */ |
| 2 |
|
/* |
| 3 |
|
* Header file for holodeck device driver routines. |
| 4 |
|
*/ |
| 130 |
|
|
| 131 |
|
|
| 132 |
|
void |
| 133 |
< |
dev_section(otf) : add octree geometry for rendering |
| 134 |
< |
char *otf; : octree and portal file names |
| 133 |
> |
dev_section(gf, pf) : add geometry and ports for rendering |
| 134 |
> |
char *gf; : geometry file name |
| 135 |
> |
char *pf; : portal file name(s) |
| 136 |
|
|
| 137 |
< |
Add the given octree file to the list of geometry to be used to render |
| 138 |
< |
intermediate views if direct geometry rendering is available. Additional |
| 139 |
< |
file names (separated by spaces) are Radiance scene files containing |
| 140 |
< |
the geometry for "portals" to separate sections. The given |
| 141 |
< |
character string is guaranteed to be static (or permanently allocated) |
| 142 |
< |
such that it may be safely stored as a pointer. The same pointer or |
| 143 |
< |
file list may be (and often is) given repeatedly. If a given octree |
| 144 |
< |
does not exist, the call should be silently ignored. If otn is NULL, |
| 145 |
< |
then the last octree has been given, and the display can be updated |
| 146 |
< |
with the new information. |
| 137 |
> |
Add the given geometry file to the list of geometry to render for |
| 138 |
> |
intermediate views if direct geometry rendering is available. The |
| 139 |
> |
second argument gives the name(s) of any portal geometry files |
| 140 |
> |
associated with this section. Multiple portal file names are separated |
| 141 |
> |
by spaces. A single octree file will be given for the geometry, ending |
| 142 |
> |
in the ".oct" suffix. Portal files will be given as zero or more |
| 143 |
> |
Radiance scene description file names. If no portals are given for |
| 144 |
> |
this section, the string may be NULL. The character strings are |
| 145 |
> |
guaranteed to be static (or permanently allocated) such that they may |
| 146 |
> |
be safely stored as a pointer. The same pointers or file lists may be |
| 147 |
> |
(and often are) given repeatedly. If a given geometry file does not |
| 148 |
> |
exist, the call should be silently ignored. If gf is NULL, then the |
| 149 |
> |
last section has been given, and the display can be updated with the |
| 150 |
> |
new information. |
| 151 |
|
|
| 152 |
|
|
| 153 |
|
void |
| 162 |
|
|
| 163 |
|
extern VIEW *dev_auxview(); |
| 164 |
|
|
| 165 |
< |
extern int *beam_view(); |
| 165 |
> |
extern int16 *beam_view(); |