Augmented Reality

This demonstrates several augmented reality modes, including webxr, scene-viewer, quick-look & the accompanying attributes, ar, ar-scale, ios-src.

Note that WebXR mode requires the page be served on HTTPS and if enclosed in an iframe, that iframe must allow your origin the xr-spatial-tracking policy.

In this example an ios-src attribute is specified, which enables Quick Look on iOS even if it is not specified in ar-modes. This requires an extra download, but can be useful if the auto-generated USDZ is not adequate (for instance it does not support animations yet). Also, this source can be either a .usdz or a .reality file.

Scene Viewer

Here the Scene Viewer app is given priority, to make it easier to compare with the default WebXR, above.