Software for NYU Future Reality Lab webXR-based XR experience.
install Node.js and npm if you haven't. Then in the command line, do
npm install
cd server
npm install
./patch.sh
- At the root folder, do
./startserver
- Go to chrome://flags/ in your Google Chrome browser
- Search: "Insecure origins treated as secure" and enable the flag
- Add http://[your-computer's-ip-address]:2024 to the text box. For example http://10.19.127.1:2024
- Relaunch the chrome browser on your computer and go to http://localhost:2024
- Run the program locally on your computer
- Open the browser on your VR headset
- Go to chrome://flags/
- Search: "Insecure origins treated as secure" and enable the flag
- Add http://[your-computer's-ip-address]:2024 to the text box. For example http://10.19.127.1:2024
- Relaunch the browser on your VR headset and go to http://[your-computer's-ip-address]:2024
- On your Oculus app, go to Devices, select your headset from the device list, and wait for it to connect. Then select Developer Mode and turn on Developer Mode.
- Connect your quest with your computer using your Oculus Quest cable.
- Go to chrome://inspect#devices on your computer
- Go to your VR headset and accept Allow USB Debugging when prompted on the headset
- On the chrome://inspect#devices on your computer, you should be able to see your device under the Remote Target and its active programs. You can then inspect the NYU-FRL-XR window on your computer.
- Enable the experimental feature in the browser (Oculus Browser 11)
- Visit chrome://flags/
- Enable WebXR experiences with joint tracking (#webxr-hands)
- Enable WebXR Layers depth sorting (#webxr-depth-sorting)
- Enable WebXR Layers (#webxr-layers)
- Enable phase sync support (#webxr-phase-sync)
- Enable "Auto Enable Hands or Controllers" (Quest Settings (Gear Icon) -> Device -> Hands and Controllers)
- Enter the VR experience