-
Unity 2019.3.5 version
-
Download UniCAVE plugin
-
Download UniCAVE 2019 on CAVE machine
Go to Package→UniCAVE Plugin→Prefabs, drag and drop Default Network Manager to the scene.
Import the prefab file below
M4_Seq_4Displays_1PC_mosaic_crop.prefab
Now, the scene is like:
Go to Assets area, right click and create new MachineName Assets and set name as VISCUBE
Also set the name here
-
Select Displays under
M4_Seq_4Displays_1PC_mosaic_crop→Displays -
Go to Inspector
-
Create
Physical Display Managerand se machine Name as theMachineName AssetAssociated Displays will be setup automatically once the different displays setup.
-
Select Front Wall and go to Inspector
Add Component
Physical Displayand select Manager asDisplaysFor the Head, once setup
Head, then go back to here to set HeadFor other values, we can import them from JSON files.
Do the same thing for
Floor,Left Wall, andRight Wall -
Go to Head
set the value as the image above.
-
Go to Wand
Remove the empty script (otherwise, it may cause the frozen.)
Add a new component
VRPN Trackand changeTracker AddressandChannel=1 -
Go to Input
remove empty script, create
VRPN Input, and set as belowFor other features, free to change.
-
Go to
Default Network Manager, and addNetwork InitializationRemember to change Server Address to 192.168.0.2
Go to M4_Seq_4Displays_1PC_mosaic_crop → Head
Change the Far Clipping Plane to 1000000 (a big number)
Go to Edit → Project Settings → Player
Under XR Settings enable Virtual Reality Supported
Add Stereo Display (non head-mounted) to SDK
Remove others SDKs
Go to Packages → UniCAVE Plugin → Scripts → VRPN
Edit VRPN.CS file
Replace the following code
//todo - need to allow different transforms here...
//need to adjust two below functions to match up with your own tracking system's transform
public static Vector3 vrpnTrackerPos(string address, int channel)
{
return new Vector3(
(float)vrpnTrackerExtern(address, channel, 0, Time.frameCount),
(float)vrpnTrackerExtern(address, channel, 1, Time.frameCount),
-(float)vrpnTrackerExtern(address, channel, 2, Time.frameCount));
}
public static Quaternion vrpnTrackerQuat(string address, int channel)
{
return new Quaternion(
(float)vrpnTrackerExtern(address, channel, 3, Time.frameCount),
(float)vrpnTrackerExtern(address, channel, 4, Time.frameCount),
-(float)vrpnTrackerExtern(address, channel, 5, Time.frameCount),
-(float)vrpnTrackerExtern(address, channel, 6, Time.frameCount));
}After setup, go to File → Build Setting..., and build it. and save it to a USB
- Turn on the Projector by double click PROJS_ON.sh
- Open DTrack2, connect
- Turn on
VRPN Server- go to folder on Desktop/visbox/apps/UniCAVE2019
- double click
vrpn_server.exe
- Copy the project folder to /UniCAVE2019
- Copy the
paul2019_force_gpu.ps1to the project folder - Edit the
ps1file- Change the executable file to the unity project exe file.
- Change the name of the log file







