Skip to content

ViveSoftware/VIVE-CloudXR-UnitySample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIVE CloudXR Unity Sample

Demonstrate how to program with NVIDIA CloudXR Client Unity Plugin for VIVE Focus 3 and VIVE XR Elite headset. You can start to develop your own CloudXR application based on this sample client.

Below are the instructions to build from source. Alternatively you can find a pre-built APK in the Releases section.

Requirements

Settings & Build Setup

  1. Switch to Android platform.
  2. Load NVIDIA CloudXR Client Unity Plugin from Window > Package Manager.
    • the plugin is included labeled "sans-libc++"
  3. Ensure OpenXR and VIVE XR Support feature group are checked from Edit > Project Settings > XR Plug-in Management.
  4. Check and fix for any red or yellow flags from Edit > Project Settings > XR Plug-in Management.
  5. Ensure VIVE XR Support and CloudXR Tuned Pose Capture are checked from Edit > Project Settings > XR Plug-in Management > OpenXR.

Usage

  1. Open Server and check server ip.
  2. Modify the IP address in CloudXRLaunchOptions.txt.
  3. Push CloudXRLaunchOptions.txt to /storage/emulated/0/Android/data/PackageName/files/CloudXRLaunchOptions.txt
    • PackageName from Edit > Project Settings > Player > Other Settings > Package Name
    • pre-built APK PackageName : com.htc.vive.cloudxr.unitysample
  4. Launch the apk to start streaming.

Notes

  • If controller model position not fit, please follow these steps to fix it.
    1. Please open CxrUnityXRManager.cs from Project > Packages > NVIDIA CloudXR Client for Unity > Runtime
    2. Replace /input/grip/pose to /input/aim/pose