VR System Extension

The VR System extension in Vortex Studio lets mechanical engineers and level designers create interactive VR experiences in Vortex Studio that run on HTC Vive components.

From the Vortex Studio Editor, you can connect HTC Vive inputs, outputs, and parameters to any other input, output, or parameter in Vortex Studio using Connection Containers. Vive controllers and trackers can also be used independently from the headset.

Supported Hardware

Vortex Studio supports the following hardware configuration:

  • Vive Pro Series Headset
  • Two classic Vive controllers
  • 2 Lighthouse base stations
  • 1 Vive Tracker 2018

Note: Using more different controllers or configurations may cause problems with your simulation.

Prerequisites

Before you start, you should be familiar with the following Vortex Studio concepts:

  • Enabling VR in the Editor
  • Connection Containers
  • VHL Interfaces
  • Script Extensions

Setting up the Extension

Setting up the VR System extension so that you can use an HTC VIVE with your simulation involves the following activities:

  1. Adding the VR system extension to your content
  2. Creating connections

Adding the VR System Extension to Your Content

Before you add the VR System extension, make sure that you have already set up HMD in the Editor.

TIP: If the VR window takes over your view, you can use Windows Task View to select the proper window

To add the VR System Extension to your content, do the following:

  1. In the Editor, open the scene or mechanism you want to add the extension to.
  2. In the Toolbox, under Display, add the VR System extension to the scene or mechanism.
  3. Wake up your VR hardware (headset, controllers, and trackers).

When the VR hardware is active, you can see the different transforms and button inputs update in real time on the Editor, and you can wire them to meet your needs.

Creating Connections

You must set up a VHL interface so that you can connections between your VR hardware and the Vortex Studio Content you want to use it with. For convenience, the following procedure uses an example from an ROV mechanism that you can find in Vortex Studio demo scenes.

To create connections between your hardware and your Vortex Studio content, do the following:

  1. Open mechanism file from installed demo content \\CM Labs\Vortex Studio Content [release]\Demo Scenes\Equipment\ROV\WorkClassROV\WorkClassROV.vxmechanism.
  2. In the Explorer panel, navigate to the Connection Container folder and double click the Connections - Controls extension to see the Connections Editor graph.

  3. Double click on the VHL Interface - ROV to see the VHL Editor interface.

  4. In the Explorer panel, click to select the VR System extension.
  5. Drag the Trigger Axis output field into the Outputs section of the VHL Interface editor.
  6. Click to select the Connections Editor tab (typically near the bottom of the app frame).
  7. Drag the Trigger Axis field onto the Connections Editor graph view.

  8. Wire the VHL Interface - ROV Trigger Axis output to the Thruster Joystick Command - Joystick Cmd - Forward input.

  9. Start the simulation.
  10. Make sure your VIVE controllers are in view of your base stations and wake them up if necessary.
  11. Press on the Trigger button of the associated controller.

You should see the thruster fans of the ROV rotate in proportion to the amount of pressure on the VIVE controller Trigger button.

Limitations

This feature has the following limitations:

LimitationWorkaround
You can only have one active VR System Extension in a scene at a time.If you have multiple mechanisms that each have their own VR System extension, you can use Configurations to add and remove content.
Using more controllers than recommended can cause unpredictable behavior.Limit the base stations to 2, the controllers to 2, and the trackers to 1.
Only classic VIVE controllers have been tested.Contact Vortex Studio support for any issues with your own hardware.