Skip to main content

OpenXR Plugin

Plugin Installation​

  1. Double-click the installer to start the installation.
xr-1
  1. Select the default installation path, click "Next", and continue until the installation is completed. After the installation is finished, run it as an administrator.

Setting​

PICO head-mounted display device​

  1. Download the official software for the PICO headset. The download link for "PICO Connect" is as follows: https://www.picoxr.com/cn/software/pico-link. Choose the version to download based on the operating system of your computer.
xr-3
  1. After the download is complete, open the installation location of "PICO Connect", and enter the path "\PICO Connect\openvr_driver\resources\ps_xrt", then run the "add_runtime.bat" file.
xr-4
  1. Connect the PICO headset to the computer using a USB 3.0 cable. Note: The USB cable used must be of USB 3.0 type.

  2. In the PICO connection, open the settings → Game Display. Turn off the frame interpolation and frame buffering functions.

xr-5

XINGYING Settings​

  1. When calibrating using the XINGYING software, please set the coordinate system so that the Y-axis is upward.
  2. After the calibration is completed, please create the rigids for the head-mounted display and the left/right hand handles in the XINGYING software. Since the coordinate system of the PICO head-mounted display is opposite to that of the XINGYING software with respect to the Z-axis, before creating, the head-mounted display and the left/right hand handles need to be placed in the negative direction of the Z-axis of the XINGYING coordinate system.
xr-6
  1. Before creating the rigid body, please align the head-mounted display and its left/right hand controllers so that they point in the negative direction of the Z-axis (the creation posture of the left/right hand controllers can be adjusted according to the hand-holding posture). When creating the rigid body, set the bone orientation to the Z-axis.
xr-7
  1. After the rigid body is created, start the SDK stream.
  2. In the rigid body properties of the asset panel, enable the rigid body smoothing for the HMD headset and the left/right controllers.
xr-14

Configuration Tool​

  1. Locate "Nokov OpenXR" on the desktop and double-click to open the configuration tool.

  2. File Menu Bar:

    • Save: After configuring all parameters in the configuration tool, click Save. The current configuration will be automatically saved to the default configuration file of the configuration tool.
    • Load: Select the configuration file in the loading window and load it. The contents of the loaded configuration will be written and saved in the default configuration file of the configuration tool.
    • Save As: Click Save As, select a path to save the configuration file. The default name of the configuration file is "nokov_config.json".
    • Export: Export the current configuration.
    • Import: Select the configuration file in the import window and import it. The configurations in the imported file will only be used for loading and will not overwrite or replace the content of the default configuration file of the configuration tool.
    • Exit: Click Exit and the configuration tool will close.
  3. View:

    • Click on the View menu bar → Log, and you can view the logs and clear them in the log window.
  4. Language:

    • Click on the Language menu bar, and you can switch languages. Support for Chinese and English is available.
  5. Tools:

    • After configuring the tracking mode, HMD headset, left/right hand controllers' relevant parameter settings, click on the Tools menu bar → Sample Application. After wearing the headgear device, a sample application scenario will be displayed within the headgear. In this scenario, you can interact using the gamepad controller.
  6. Help Menu Bar:

    • Documentation: Jump to the operation manual
    • About: View the version details of the Nokov Open XR Configuration Tool

Connection​

  1. Click on the dropdown list to the right of the server IP address to select the SDK address for the XINGYING software broadcast. Then click the connection button to establish a connection to the motion capture data. Once the connection is successful, the connection status will change from red to green.
  2. Alternatively, you can select "Remote" from the dropdown list. Manually enter the IP address of the server host for the broadcast in the remote IP address field, and then click the connection button to establish a connection to the motion capture data (the server and client computers must be in the same local area network).
xr-8
  1. Layer Connection: The Layer connection status is used to determine the connection result between the VR project and the OpenXR configuration tool. When starting the UE engine VR project or example scene, the Layer will switch to green, indicating a successful connection; after launching the Unity VR project, clicking the play button will also change the Layer to green. When the VR project is closed, the Layer status will turn red.

Asset List​

  1. After successful connection, the rigid body asset will be displayed on the asset list in the configuration tool. The list will show the ID and status of the rigid body type assets. The configuration tool will filter the asset types during the connection process. Assets of non-rigid types will not be displayed in the list.
  2. When the rigid body in the XINGYING software changes, the configuration tool will obtain the rigid body status in real time and refresh the list.
  3. The status of the asset list is divided into allocated (green) and unallocated (red) states. When a rigid body is assigned to the HMD or left/right hand controller, the rigid body status in the asset list will change to green. Conversely, the status of the rigid body will be displayed as red.
xr-9

Configuration​

  1. HMD Headset:

    • Tracking Mode: The HMD has three head pose modes, namely the native mode (the original pose of the HMD), the rigid body mode (the pose is driven by the rigid body data from motion capture), and the fusion mode (the fusion of the rigid body position from motion capture and the rotation of the HMD to reduce jitter). Select the mode according to your own needs from the list.
    • Rigid Body Name: Expand the drop-down list and select the data-driven head pose of a rigid body.
    • Pupillary Distance: Set the pupil distance value. The default value is 65mm. The value is modified and takes effect in real time.
  2. Controller:

    • Joystick Mode: There are two modes for the joystick controller - the physical joystick (official joystick) and the Nokov joystick (provided by Nokov). Please select the joystick mode based on the current controller being used.
    • Enable Override: The default setting is enabled. When disabled, the rigid body data of the current controller will be deactivated.
    • Rigid Body Name: Expand the dropdown list and select a rigid body data from the list of rigid body names for the left and right controllers to drive the position and orientation of the controller.
  3. Details: If using a UE project, please select "Unreal Engine" in "Details → Engine Compatibility Configuration". For other engines, select "Default" instead.

xr-10

VR Project Engineering Creation and Usage​

  • After configuring the relevant parameter settings, start creating a VR project. Currently, Nokov OpenXR supports integration with the UE (Unreal Engine) and Unity engines. The following will explain how to create a simple VR project and how to use it in the scene.

UE Engine​

  1. For example, let's introduce it using UE5.5 engine:
  2. Open UE5.5, select "Game", then choose "Virtual Reality" on the right side, and click "Create".
xr-11
  1. After the creation is completed, you will enter UE. Click the Edit menu bar at the top - Plugins. In the search bar of the Plugins window, enter "OpenXR" to enable the related plugins for OpenXR. After enabling all of them, restart UE.
xr-12
  1. After restarting, select VR preview, click play, put on the headset, move the left/right controller in your hand, and the images inside the VR glasses as well as the controller will move synchronously.
xr-13

Unity​

  1. Open the Unity Hub, select "New Project", choose the editor version, find the "VR Template" among all the templates, and click "Create Project". If the "All Templates" section does not contain the VR template, search for it in the core templates, download it, and then create the project.
xr-15
  1. After creating the VR project, open this project. In the Unity project, click the play button, then put on the head-mounted display and move the left/right controller. The images in the VR glasses and the controllers will also move synchronously.
xr-16
info

Notes

  1. Modifying the configuration in the Nokov OpenXR configuration tool will take effect immediately. The prerequisite for this feature is that the SDK streaming mode of the XINGYING software is set to multicast. If all the configurations are completed in the Nokov OpenXR configuration tool and then the tool is closed, multicast is not required and the unicast mode can still work normally.

  2. In scenarios where the headset is connected to the computer via Wi-Fi, poor Wi-Fi signal can cause significant lag in the headset display. It is recommended to use a USB wired connection instead.

  3. When connecting the headset to the computer via USB wired connection, please use a data cable with USB 3.0 or higher specifications.

  4. If there is an incorrect scene perspective direction when running the project in UE or Unity, please wear the headset properly, look straight ahead at the target, press the headset's sleep button, then press the power button to complete the re-calibration of the headset's own position.

  5. When the Layer turns red, please restart the VR project until the Layer status changes to green.