Vi3W
Skip to content

Guides

Google's model-viewer in practice: one homeware brand's story

How a homeware brand used Google's model-viewer to add 3D and AR to product pages: GLB files, file size, AR on iOS and Android, and making models fast.

3 min read

A laptop open on a desk showing a web page
Photo: public domain / CC0, via Openverse. Illustrative story.

Quick answer

What is model-viewer?

model-viewer is a free, open-source web component from Google that displays an interactive 3D model on a web page with one HTML tag. It loads glTF or GLB files, supports rotation, zoom, lighting and animation, and can launch augmented reality on supported phones, using Scene Viewer on Android and Quick Look on iOS.

Illustrative story. Kiln & Thread is a fictional company and this is a made-up scenario, written to show a realistic workflow. The people, numbers and outcomes in it are invented for illustration and are not a Vi3W customer's results. The tools, steps and Vi3W features are real.

One tag, 300 products

Kiln & Thread is a fictional homeware brand selling ceramics, lamps and textiles online. Their returns data said customers kept misjudging size and shape: a vase "smaller than expected", a lamp shade "a different shape". The founder wanted 3D and "view in your room" AR on every product page, with one developer and no agency.

Why model-viewer

The developer compared options and picked model-viewer, Google's open-source web component:

A laptop on a desk, where most product pages are built
Photo: public domain / CC0, via Openverse.
  • One tag. <model-viewer src="vase.glb" ar camera-controls> and the model appears.
  • Free and open source. No per-view fees.
  • AR on phones. Android uses Scene Viewer. iPhones use Apple's Quick Look, which needs a USDZ file, either one you supply (the ios-src attribute) or one generated from the GLB in recent versions of the component. See converting GLB to USDZ.
  • Lightweight setup on any platform, including Shopify, which also has native 3D support.

The viewer was a day's work. The 300 models were the real project.

Making 300 models

Kiln & Thread had good product photos but no 3D files. Their workflow:

  1. Image to 3D in Vi3W from the best existing product photo, or a new one shot on a plain background. Shiny glazes were tried on several of Vi3W's 25 image-to-3D models.
  2. Scale check. Every model was scaled to real dimensions from the product spec. AR shows a vase at true size, so a wrong scale is worse than no AR.
  3. Clean shape to a face budget suitable for phones, then Make it lighter to compress the file. Smaller files load faster on mobile. See reducing GLB file size.
  4. Colourways with New paint job. A vase sold in four glazes became four variants from one shape.
  5. Quality check against the photo: shape, colour and proportions.

What they didn't do

  • They didn't promise exact textures. The product page said the 3D view shows shape and size, and photos show finish.
  • They didn't use AR for textiles at first. Fabric drape is hard to represent, so cushions and throws waited.

What changed

In this illustrative story, size-related returns on products with AR dropped noticeably, and customers who used the 3D viewer spent longer on product pages. The founder's favourite email: "The lamp is exactly as big as your website said it would be."

Lessons you can steal

  • The viewer is easy. Budget for the models.
  • Real-world scale is non-negotiable in AR.
  • Keep files small for phones.
  • Be honest about what the 3D shows.

For other ways to embed 3D, see embed a 3D model on a website.

Make your first product model

Upload one product photo and drop the GLB into a model-viewer tag. Open Vi3W.

Frequently asked questions

how to use model viewer

Add Google's model-viewer script to the page, then a tag such as <model-viewer src="model.glb" camera-controls ar>. Use GLB files, keep them small and set the model's real-world scale for AR.

Last reviewed