Chapter 5. Running a VR Juggler Sample Program

Table of Contents

Required Reading
Running an Application in Simulator Mode
Using a Simulated Glove
Using a Simulated Analog Device
Running an Application in a VR System

It is important to note that the same VR Juggler application can be run in simulator mode or in a full-scale VR system with no modifications. What does change is the configuration files used when starting the program. In $VJ_BASE_DIR/share/Data/configFiles, you can find many basic configuration files including those for running in simulator using a mouse and keyboard to simulate VR input devices and some example files based on those used for the VRAC C2 systems. In the directory, you will see some files with names containing “mixin”. These are special files that provide a specific capability not necessarily needed by all applications. They can be mixed in (hence the name) with other configuration files as needed. The configuration files found in the configFiles directory will be referenced in the examples provided, so be sure you know where they are.

Required Reading

Before reading any further, make sure you have already read the instructions on how to install VR Juggler (see Chapter 1) and on how to configure your environment (see Chapter 2). That information will not be repeated, and it is assumed that you already know what we mean by VJ_BASE_DIR and LD_LIBRARY_PATH to name two environment variables. At this point, it is also assumed that you already have compiled an application (Torus in the case of the examples provided), so you should be sure to have read about how to compile a sample VR Juggler application (in Chapter 4) before proceeding.