The output of the following command is the host name, which needs to be the new section name in Vrui.cfg and VRDevices.cfg
echo $HOSTNAME > minicave
to find section 3DTV
minicave in our case. If host name has “.” in it, the section name has to be in quotes
to the name of computer running OpticTrack (metropolis.physics.ucdavis.edu) DO NOT use quotes even though “.” are present.
to the names of the rigid bodies from OptiTrack (Head, Wiimote)
into trackerPostTransformation0 (Head) and trackerPostTransformation1 (Wiimote)
if you called the input device Wiimote rather than a Wand in OptiTrack.
in section Wiimote1 … deviceName “<ID>” The ID has to be in quotes because “:” are present.
in section “3dtv.<stuff>” with host name (minicave)
if you called your Wiimote, “Wiimote”
It was 3dtv and should be your host name (minicave)
There should be one inputDeviceNames section for each input device, e.g. one for Head (called Head) and one for the Wiimote (called Wiimote). Change both the name after “inputDeviceNames” and after “name” in the following line.
You need to adjust monoscopic- and stereoscopic-mode eye-location offsets—downward and backward offsets from the origin one the glasses' antler location. This makes a noticeable difference and, in principle, would be set for each user.
Eye positions - measure where your eyes are in relationship to the origin on the glasses. Mono is between the two eyes (z = -1.75 inch (down), y = -0.5 inch (back), x = 0). The half average eye distance is 1.25 inches, so adjust x for the right and left eye positions.
Section Vrui ... Section Viewer ... monoEyePosition (0, -0.5, -1.75) rightEyePosition (1.25, -0.5, -1.75) leftEyePosition (-1.25, -0.5, -1.75) ... headLightPosition (0, -0.5, -1.75)
Check that the value for display matches the number of the 3D TV display set by the driving computer. Oliver recommends that 3D TV is the second screen for the computer and has the number :0.1 If Vrui shows up on the wrong screen, change this number in the config file or on the driving computer. (see X Windows Configuration)
The last 3 sections are tool assignments for the wand, and they have deviceName0 all set to Wand, change to Wiimote if that's what you called the input device. Then you have the default navigation tools preassigned.
On Linux computer:
On OptiTrack computer: