📲Deploy Experience
Learn how to use our system with Google WebXR.
Last updated
Learn how to use our system with Google WebXR.
Last updated
WebXR is experimental and currently only works on Android phones running Chrome Canary versions 70-72.
Google WebXR enables you to view your 3D models on any surface in your environment through a web browser.
Verify your device is running Android 8.0 Oreo or a newer version of Android.
Verify that your Android phone is one of the supported ARCore devices.
Install Chrome Canary on your Android device.
Type chrome://flags
in the URL bar.
Type xr
in the Search flags input field.
Set the WebXR Device API (#webxr
) flag to Enabled
. Note to ignore the similar looking WebVR (#enable-webvr
) flag
.
Set the WebXR Hit Test (#webxr-hit-test
) flag to Enabled.
Tap "Relaunch now" to ensure the updated flags take effect.
Add a model asset with a surface target through the console. Here's how:
On your Android device, open Chrome Canary.
Type https://api.echo3D.com/webxr?key=<YOUR-API-KEY>
in the URL bar
.
If your browser is configured correctly on a WebXR supported device, you should see the "Start Augmented Reality" button. Press it.
You may be prompted to install ARCore or enable camera permissions.
Move the phone around until an anchor is found on the floor.
Press the screen to place the 3D model you uploaded.
That's it! 🎉
If the model's scale is too big or too small, go back to the console and add metadata with a key called scale
to the 3D data and an appropriate value. Then relaunch the experience.