Adding VR headset support to your project is tremendously easy. Notch simply treats the headset as a camera, rendering the perspective of each eye every frame.
All the details of interocular and convergence distances are managed by the SDK and Notch, so you don’t have to worry about them. Just add the VR Headset Camera node in, place it at the location you wish to situate the user and you are set.
Additionally, Notch features:
- Controller data (buttons, positions, rotations)
- Look-at triggers
- Basic in headset UI for making tweaks to your scene with your headset on.
- VR 360 previewing
You must enable Unknown sources in the Oculus Application to allow Notch to access the Oculus headset:
- Open the Oculus Application
- Click the Cog (top right) and select Settings
- Go to the General Tab and enable Unknown sources (top item)
You only have to do this process once as the setting persists.
Adding VR to the scene
Add the Headset
The process is very simple. In Builder:
- Add the VR Headset Camera to your scene
- On the Root Node select the VR Headset Camera as your current camera.
- Move and rotate the camera to the vantage point you wish the user to see from.
- Select Devices, then choose the headset you’d like to use
- Put on your headset and press play (Space Bar)
Add VR Controllers (optional)
Both the Oculus Touch and HTC Controllers can be accessed using a combination of the VR Controller node and the (to pull the data from the VR Controller). Notch interprets the position, rotation, button and joystick movements of the controllers.
Add a Look-At-Trigger (optional)
The VR monitor provides quick access to controls needed while editing for VR.
STEP IN / OUT : Enables you to quickly turn on and off output to the VR Headset
SHOW UI IN VR : Shows the Properties and Nodegraph panes in the VR environment for in headset editing.
SHOW VR360 PREVIEW : This enables you to see the preview of a VR 360 camera, in a headset.
Prefer OpenVR Driver : When using Oculus, this will force the use of OpenVR drivers instead of Oculus Native SDK.
Windowed Display Mode: Set how you want to see the VR output in the main viewport of Builder.
Exporting to a VR Standalone
VR Applications support the features of standard Standalones, including (but not limited to):
- Remote live editing
- ArtNet / OSC commands
- Live Video Capture
To export to a VR Application:
- Open Project -> Settings -> VR
- Enable the headset(s) you wish to target
- Open Project -> Compile VR Application
- Choose the target and the version (32bit / 64bit)
- Click OK
- Close Builder and run the executable