-
Notifications
You must be signed in to change notification settings - Fork 0
TechStack
ThomasJon196 edited this page Oct 23, 2022
·
34 revisions
Converting a Three.js scene to AR using WebXR 5min
Getting Started WebXR application
First the steps below have to be completed:
-
Check if phone is supported: Supported devices
-
Enable developer mode & debugging via USB here
- additional options include adding dev-tools to phone homescreen. You may want to disable dev mode in some situations.
-
- Access phone via chrome-devtools. (Opening websites/ inspect/ debug)
- Link
chrome://inspect/#devices
-
Set up port forwarding for phone: WebXR requirements
- required if no public dev-server available. (either TLS secured connection (https:) or localhost.) localhost requires port forwarding through USB.
-
Run local server on connected port
- VSCode LiveServer simplest solution.
- Apache/ NGINX
- Phone does not display block... try tommorow
- Create QR-Codes for easy to distribute URL's