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.
chrome://flags in the URL bar.
xr in the Search flags input field.
Set the WebXR Device API (
#webxr) flag to Enabled
. Note to ignore the similar looking WebVR (
Set the WebXR Hit Test (
#webxr-hit-test) flag to Enabled.
Tap "Relaunch now" to ensure the updated flags take effect.
Add a model hologram with a surface target through the console. Here's how:
On your Android device, open Chrome Canary.
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.
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! 🎉