Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 1 min read

Browser AR on phones: what actually opens where

We build Vi3w, a tool that turns a 3D model into browser AR with a link and a QR code. Most of our time did not go into rendering. It went into the differences between phones and browsers. Here is what we found.

We build Vi3w, a tool that turns a 3D model into browser AR with a link and a QR code. Most of our time did not go into rendering. It went into the differences between phones and browsers. Here is what we found.

Floor AR is not one thing

  • iPhone: floor AR opens in Quick Look. While it runs, your own on-screen buttons such as hotspots are not shown.
  • Android: floor AR runs as WebXR in the browser, or hands off to Scene Viewer.
  • Some Android phones need an AR component update before floor AR works.

In-app browsers

Many people open a QR link inside a messenger or social app, not in Chrome or Safari.

  • Camera AR (image tracking and face) runs in the in-app browser camera.
  • For floor AR inside Android in-app browsers, we currently send people to Chrome with an "Open AR in Chrome" button. A Scene Viewer issue is open (google-ar/arcore-android-sdk #1795), and we will switch back when it is fixed.

Scale

Uploaded GLB files keep whatever units the author used, so a chair can show up the size of a house. In floor AR, by default we fit the longest side: over 40 cm is scaled down to 40 cm, under 5 cm is scaled up to 10 cm, and anything in between stays at real size. The author can switch to real size.

Camera data

For camera AR, the video is processed on the phone. Nothing is uploaded.

Try it

A sample you can open on a phone:
https://www.vi3w.net/explore?utm_source=devto&utm_medium=community&utm_campaign=vi3w-launch&utm_content=vdev-01

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.