Chapter 11. Dynamically Reconfiguring VR Juggler Applications

Table of Contents

Connecting to a VR Juggler application
Viewing and Changing the Active Configuration

One of VR Juggler's most interesting and unique features is dynamic reconfiguration: the ability to view and modify the configuration of the VR Juggler system without restarting an application. In addition to its role as a configuration file editor, VjControl is also the user interface for viewing and changing VR Juggler's configuration.

Connecting to a VR Juggler application

VjControl communicates with VR Juggler applications over a TCP/IP network connection. This allows VjControl to control VR Juggler applications remotely - from another computer, another room, or another city. This feature is particularly valuable because many VR systems take over their host computer's display, limiting the use of traditional GUI programs.

Figure 11.1. Connection Panel

Connection Panel

To connect to a VR Juggler application, switch to the "Connections" panel in VjControl. You will need to enter the hostname and port number that the VR Juggler application is listening to. The hostname and port are in turn specified by one of the configuration files given to the application at startup time (in an Environment Manager ConfigChunk) and are printed to the console as part of the application's initialization.

Once the hostname and port number are in place, press the "Connect" button, and VjControl will open a communications channel to the VR Juggler application.

Alternately, you can specify the hostname and port with VjControl's command-line arguments (see Chapter 6) and it will connect automatically.