Let people see a 3D model in AR from your website
Have an Agent make a 3D model for the web, add a 3D viewer to your website, and place the model in the room from Safari on an iPhone or iPad.
Your website can show a 3D model that visitors turn around on the page and, on an iPhone or iPad, place in the room around them. An Agent makes the model’s files and adds a 3D viewer to the site. You ask in the project’s chat, open the page, and try it in the room.
To show a model in AR inside your own app instead, see Add 3D models to your app or game.
Before you start
The project needs a website your Agents look after. If its Website tab is empty, ask for a site first. See Publish your app’s website.
Ask for the model on your site
- Open the project’s chat.
- Say what the model is, point to one an Agent already made, or attach photos of the thing with +. See Add 3D models to your app or game.
- Say it’s for the website, which page it goes on and where on that page.
- Ask for a 3D viewer people can turn, and for AR on iPhone and iPad.
- Ask for the model at its real size, so it looks right in the room. The Agent can scale a model to the real-world size of what it shows.
For example:
Make a 3D model of our lamp from these photos, for the website. Put it on the product page under the main photo, in a 3D viewer people can turn. iPhone and iPad visitors should be able to place it in their room in AR, at its real size.The Agent makes the model files the viewer needs and adds the viewer to the page. The files it can make include:
| File | What it’s for |
|---|---|
| USDZ | The format Apple’s AR uses. Apple’s AR Quick Look ↗ page says Safari on iPhone and iPad shows USDZ models in 3D and in AR. |
| glTF | A format for 3D on the web, for the view on the page. |
Check the page
Open the site in the project’s Website tab, go to the page and turn the model in the viewer. See Publish your app’s website.
To point at what should change, such as the viewer’s size or place on the page, use Select Element. See Change your website by pointing at it.
Place it in the room
Apple’s page describes AR from Safari on iPhone and iPad.
- On your iPhone or iPad, open the page in Safari. In the Website tab, touch and hold the site’s row and choose Copy Address, then paste it into Safari. If Safari is your usual browser, Open in Browser opens it there.
- Go to the page with the model and tap the viewer’s AR button. The Agent can tell you what it looks like.
- Apple’s AR view opens and shows the model through the camera, in the room around you.
This page doesn’t know whether AR opens from inside AirBuild’s Website tab; Safari is where Apple’s page says it works.