GraphXR supports use in a Virtual Reality (VR) or Augmented Reality (AR) environment through the use of WebXR and an Oculus headset.

This guide covers installation of the WebXR environment.


Setting up WebXR for GraphXR

This section outlines setting up an environment for using GraphXR with WebXR, in this case, using the Oculus Rift, Oculus Rift-S, and Oculus Quest 2(via Oculus Link) headsets with Chrome WebXR. The steps are:

  1. Prepare the VR Device, Hardware, and Software

  2. Configure the Chrome browser.

  3. Run GraphXR.

Prepare the VR Device, Hardware, and Software

Oculus Device

For setup refer to:

Oculus Rift: https://www.oculus.com/rift/setup/

Oculus Rift-S: https://www.oculus.com/setup/#rift-s-setup

Oculus Quest 2 (Physical Link): https://support.oculus.com/394778968099974/

Oculus Quest 2 (Air Link): https://support.oculus.com/airlink/

Hardware Requirements

  • 2D use

    • Minimum RAM: 8GB

    • Processor: Intel Gen 6 i5

    • GPU: Nvidia GTX-1050 or equivalent

  • VR/XR use

    • Minimum RAM: 16GB

    • Processor: Intel Gen 6 i7

    • GPU: Nvidia GTX-1070 or better

Software Requirements

Configure Chrome

  1. .Configure NVIDIA GPU.
    Open NVIDIA Control Panel => Manager 3D settings => Program Settings => Select Google Chrome => Select NVIDIA Processor

  2. Enable Chrome Hardware acceleration
    Open Chrome => Go to chrome://settings => Scroll to the bottom => Click Advanced => Scroll to System => Enable Use hardware acceleration when available.

  3. Configure WebXR flags in Chrome
    Open Chrome => Go to chrome://flags/ => Search with xr => Enable WebXR Incubations and set Force WebXR Runtime to OpenXR

  4. Configure Gamepad flags in Chrome
    Open Chrome => Go to chrome://flags => Search with gamepad => Enable Enable Windows.Gaming.Input Extensions

  5. Relaunch Chrome.

Run GraphXR

  1. Open the Oculus client.
    IMPORTANT: You must keep the Oculus client running continuously.

  2. Open Oculus client => Click Devices menu => Please make sure of the devices status.
    If you can't start the Oculus client, please go to:

    C:\Program Files\Oculus\Support\oculus-runtime, start OVRServer_x64.exe.

    Once this is running continuously (this is the terminal GUI, and you will be able to see the logs), OVRServer will automatically open the Oculus client again.

  3. Open GraphXR.
    Open Chrome => Go to *https://graphxr.kineviz.com* => Create VC Demo => Start.

  4. Load Data in to GraphXR, for example using a Cypher query as follows:

    1. Click the Query icon.

    2. Enter *MATCH (n)-[r]-(m) RETURN * LIMIT 100*

  5. Click the play icon.

  6. Click the Enter VR icon to enter the VR space.
    NOTE: When VR has been set up, the Enter VR icon appears at the left side of the graph space.