This section refers to the configurations for use with a CAVE or canonical display. Your installation may vary. For detailed information on the actual configuration commands, see the CAVELib Software Configuration section of this manual.
The CAVELib follows a path of configuration files to determine the hardware configuration. The lowest level is the etc/cave.config file found in /usr/local/CAVE on IRIX and Linux, /opt/CAVE/ on HPUX and SUN, and in CAVE_HOME/ on Win32. Below is an example of the cave.config file that comes with a CAVELib distribution. If no other configuration files get setup, a CAVELib application that reads this configuration file will run in the default simulator mode. A HOST.config file needs to be setup to display in a specific VR device.
# Generic configuration file which is loaded by all
# systems, prior to host-specific &
# user configuration files
#
# Specify which CAVE walls you want to run and on which
# graphics pipe Walls simulator
# Display information for walls
# (pipe # & (optional) window geometry)
WallDisplay simulator -1 window
WallDisplay simulator1 -1 window
WallDisplay simulator2 -1 window
WallDisplay desk -1 window
WallDisplay front -1 window
WallDisplay left -1 window
WallDisplay floor -1 window
WallDisplay right -1 window
WallDisplay back -1 window
WallDisplay ceiling -1 window
#######################################################
# The following will display all six walls on a
# single 1024x768 screen
#WallDisplay front 0 256x256+256+256
#WallDisplay left 0 256x256+0+256
#WallDisplay right 0 256x256+512+256
#WallDisplay back 0 256x256+768+256
#WallDisplay floor 0 256x256+256+0
#WallDisplay ceiling 0 256x256+256+512
#Walls front left right back floor ceiling
#DisplayMode mono
#TrackerType simulator
#######################################################
# Display mode - mono or stereo
DisplayMode mono
# Type of tracking (birds, polhemus, logitech,
# mouse, or simulator)
TrackerType simulator
# Serial port(s) for tracking
TrackerPort /dev/ttym2
# Offset from head sensor to point between user's eyes
HeadSensorOffset 0 0 0 in
# Interocular distance (in inches or cm.)
InterocularDistance 2.7500 in
# Offset from wand sensor to position reported by library
WandSensorOffset 0 0 0 in
# Origin of coordinates of the CAVE (given in distance
# to the walls)distance to left wall distance to floor
# distance to front wall
Origin 5.0 0.0 5.0 feet
# Cave width (& depth)
CAVEWidth 10.0 feet
# Cave height
CAVEHeight 10.0 feet
# Cave units for GL coordinates (Meters or feet)
Units Feet
# Isolate CPUs & lock rendering processes to them
CPULock n
# Which type of wand is being used (mouse or PC)
Wand simulator
# Whether to hide the cursor when in the CAVE windows
HideCursor n