@ndmspc/ndmvr 0.20230227.0 → 0.20230323.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -0
- package/dist/ndmvr.es.js +2598 -2471
- package/dist/ndmvr.umd.js +107 -107
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -383,6 +383,61 @@ Components create everything you need. The parameters must be provided to the co
|
|
|
383
383
|
|
|
384
384
|
---
|
|
385
385
|
|
|
386
|
+
## VR Headset Specific Topics
|
|
387
|
+
|
|
388
|
+
### Oculus console log on the VR headset
|
|
389
|
+
source: https://developer.oculus.com/documentation/web/browser-remote-debugging/
|
|
390
|
+
The guide is for the Chrome browser.
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
#### Software needed
|
|
394
|
+
**The easiest way is to Download Meta Quest Developer Hub**
|
|
395
|
+
- link for the windows: https://developer.oculus.com/downloads/package/oculus-developer-hub-win/
|
|
396
|
+
- link for the mac: https://developer.oculus.com/downloads/package/oculus-developer-hub-mac/
|
|
397
|
+
|
|
398
|
+
#### Setting up the console
|
|
399
|
+
|
|
400
|
+
The first steps are done in MQDH:
|
|
401
|
+
|
|
402
|
+
1. Open the MQDH app
|
|
403
|
+
2. Choose the right path to ADB (Android Debug Bridge)
|
|
404
|
+
3. Sing in with the developer account (Ndm Spc)
|
|
405
|
+
4. Make sure your account is verified (Developer mode)
|
|
406
|
+
|
|
407
|
+
Then we continue on the Headset:
|
|
408
|
+
|
|
409
|
+
5. Connect the headset to the computer using a USB-C cable
|
|
410
|
+
6. Click Allow when prompted to allow access to data.
|
|
411
|
+
|
|
412
|
+
And now back in MQDH:
|
|
413
|
+
|
|
414
|
+
7. Add a new device in the MQDH
|
|
415
|
+
8. Choose your device (Ndm Spc)
|
|
416
|
+
9. Make sure developer mode is on
|
|
417
|
+
|
|
418
|
+
Next, we have two options to continue:
|
|
419
|
+
- via USB connection
|
|
420
|
+
- via WiFi connection
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
#### ADB over USB (Faster):
|
|
424
|
+
10. In chrome browser: Open on your computer: chrome://inspect/#devices
|
|
425
|
+
11. In chrome browser: Choose: Discover USB devices
|
|
426
|
+
12. In chrome browser: Choose the default option
|
|
427
|
+
|
|
428
|
+
#### ADB over Wifi:
|
|
429
|
+
10. Turn on ADB over Wifi in the MQDH
|
|
430
|
+
11. Add new ADB command (adb shell ip route)in the MQDH or cmd
|
|
431
|
+
12. In chrome browser: Open: chrome://inspect/#devices
|
|
432
|
+
13. In chrome browser: Choose: Discover network targets
|
|
433
|
+
14. In chrome browser: Type the IP address from the created ADB command, a default port: 5555
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
#### Note
|
|
437
|
+
To open web developer tools for the opened browser windows in the VR headset on the address chrome://inspect/#devices, click on the browser window you want to see and click inspect
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
386
441
|
## License
|
|
387
442
|
|
|
388
443
|
MIT © [NDMSPC](https://gitlab.com/ndmspc/ndmvr)
|