Adapt an existing application
Tutorial - Adapting an existing application to MiddleVR#
Multi-display#
-
Import the MiddleVR unity package and insert the MVRManager. See Tutorial - Using MiddleVR in Unity
-
If your project uses URP or HDRP, read Unity URP & HDRP
Cluster#
If your app will be run on a cluster or multi-gpu system, you need to adapt it for cluster.
-
First read the following section:
- MVRManager Simple cluster
- Testing your cluster application on a single computer
- If your project uses keyboard or joystick, read Cluster Input Devices
- If your project uses time, read Cluster & Time
- If your project uses a GUI, read Cluster & GUI
- If your project uses animations, read Cluster & Animations
- If your project uses random numbers, read Cluster & Random
- If your project uses physics, read Cluster & Physics
- Here is how to Send custom data to cluster nodes and Send events to cluster nodes
VR#
You can add VR interactions in two ways: Unity XR or MiddleVR Wand:
Unity XR#
Check tutorial Adapting an existing Unity XR application.
MiddleVR Wand#
-
First read the following sections:
-
Modify the user inputs:
- If you are using keyboard or mouse inputs, use Inputs
- Use Wand axis and buttons
- Add Wand interactions
- Use your Wand with Unity GUI