How can I prepare 3D models for WebAR product preview with GLTF, USDZ, or QR codes, and which AI 3D tools output WebAR-ready GLTF/USDZ?

Reference image converted into a textured 3D model as a WebAR product-preview starting point
Reference image converted into a textured 3D model as a WebAR product-preview starting point

A WebAR asset starts with recognizable geometry and materials, then moves through optimization, export, and device testing.

A WebAR product preview needs two model files, one hosted viewer page, and a link a shopper can reach in a single tap. Android phones open glTF or GLB through Scene Viewer, Apple devices open USDZ through AR Quick Look, and a QR code carries the shopper to the page that serves both. The format question is the small part of the job, and the delivery package around it decides whether the preview launches on a real customer's phone. This guide covers the formats, the geometry and texture requirements, what AI 3D tools export and what they leave you, and a Tripo workflow.

How WebAR product preview reaches a shopper's phone

WebAR delivery is a handoff chain where each link has its own file expectation. A product page loads a 3D viewer, the shopper taps an AR button, and the browser hands the model to the device's AR runtime. Google's Scene Viewer accepts glTF 2.0 and glb and needs an ARCore supported device running Android 7.0 or later. On Apple hardware, Safari and other built-in apps use Quick Look to display USDZ files in 3D on iPhone, iPad, and Apple Vision Pro. Browsers implementing the W3C WebXR Device API can also run an immersive-ar session in the page itself.

Google's model-viewer component encodes this in its default ar-modes list, webxr scene-viewer quick-look, falling through until one works. You are building for three runtimes at once.

What glTF, GLB and USDZ each do in WebAR delivery

Each format solves a different delivery problem. glTF 2.0 files that keep their JSON separate use the .gltf extension and reference external buffers and images. GLB packs the same asset, including JSON, buffers, and images, into a single binary blob with the .glb extension. That single-file property is why GLB is the file you hand to a web viewer and Scene Viewer.

USDZ answers the Apple side. Its specification defines the package as a zero compression, unencrypted zip archive that proxies for the files inside it, permitting only usda, usdc, and usd files plus PNG, JPEG, OpenEXR, and AVIF images. Both files describe one product and ship together. A GLB-only export offers no AR button on an iPhone, and a USDZ-only export has nothing to show in the browser viewer.

Where QR codes fit in the preview flow

QR codes are the entry point, and they carry a URL, never the model. The symbology is standardized as ISO/IEC 18004:2024, which specifies encoding methods, symbol formats, dimensions, and error correction rules, so current phone cameras resolve one reliably. Print one on packaging, shelf tags, or a catalog page, and the shopper lands on the viewer page serving your GLB and USDZ.

Judgment: point every code at a stable URL you control, treat QR routing as a CMS decision, and keep model versioning on the server side. Swapping the model behind a stable URL costs nothing, and reprinting packaging does not.

Geometry, texture and PBR requirements for WebAR models

Consistent materials matter more than raw polygon detail once a model is on a phone. glTF defines materials using the metallic-roughness PBR model, the shared vocabulary Scene Viewer, model-viewer, and most WebGL engines already speak. A product asset should arrive with clean closed geometry, correct outward-facing normals, and a packed UV layout. Keep the material set small, since every extra material adds a draw call.

Texture handling then splits by target. The glTF side is comfortable with PNG, JPEG, and WebP pipelines, while USDZ accepts only PNG, JPEG, OpenEXR, and AVIF. Bake advanced material effects into base textures before either export, and keep the base color, normal, roughness, and metallic maps identical across both files so the product holds its appearance in both runtimes.

Scale, compression and file-size targets that hold up on mobile

Real-world scale is a specification requirement in glTF, and getting it wrong is the most visible WebAR failure. The specification states that the units for all linear distances are meters, in a right-handed coordinate system with +Y up. A chair authored at centimeter scale lands on the floor as a doll-house prop, which shoppers read as broken.

Compression then works differently on each side. KHR_draco_mesh_compression streams compressed geometry in place of raw data, with the documented caveat that Draco may change the order and number of vertices. KHR_texture_basisu specifies textures as KTX v2 images with Basis Universal supercompression, giving more efficient transmission and a reduced GPU memory footprint. Neither helps the Apple package, since a USDZ archive uses zero compression and permits only its short list of image types. Judgment: budget the GLB around geometry and texture compression, and the USDZ around texture resolution and image encoding, its only lever.

What AI 3D tools output and what conversion remains

The useful comparison is documented export coverage against the steps still left after download.

ToolDocumented delivery formatsDirect USDZ pathWork still remaining
TripoGLTF, FBX, USDZ, OBJ, STL, 3MF through format conversionDocumented for Apple AR Quick Look and RealityKitHosting, viewer embed, device testing
Meshyglb, fbx, obj, usdz, mtl, stl, 3mf returned in model_urlsDocumented, selectable through target_formatsHosting, viewer embed, device testing
Hunyuan3D 2.1Shape and paint generation pipelines published as codeNot documented in the repositoryExport, conversion, hosting, viewer, testing

Generation and format conversion are what AI tools have genuinely automated, while hosting, the viewer page, QR routing, and testing stay with your team. Judgment: pick a tool that emits both GLB and USDZ from one source model, since a single-format tool adds a conversion step to every product you launch.

Meet Tripo Studio for WebAR-ready model export

Textured and wireframe 3D asset in a Tripo workflow for lightweight WebAR delivery
Textured and wireframe 3D asset in a Tripo workflow for lightweight WebAR delivery

A clean lightweight topology baseline makes it easier to prepare GLTF or USDZ assets for mobile WebAR performance.

Tripo Studio is an AI-driven one-stop 3D workspace where a product photo becomes a textured, exportable asset without switching tools. Tripo is a 3D foundation model trained on large-scale 3D data, turning text or image input into usable geometry for games, animation, industrial design, and e-commerce visualization. Three of its modules carry the WebAR load.

Generation quality and speed. Tripo v3.1 is the current default high-precision model, taking text, image, and multiview input, outputting mesh plus PBR, and supporting up to 2,000,000 faces in roughly 40 seconds untextured and 120 seconds textured. For a lighter asset from the start, Tripo P1 covers 48 to 20,000 faces with a base mesh in about 10 seconds.

Materials. Tripo texture generation produces PBR materials by default across standard, detailed, and extreme tiers, the last reaching 8K textures you downscale for mobile.

Export controls that map to WebAR needs. Tripo's format conversion exports GLTF for web viewers and WebGL engines and USDZ for AR Quick Look and RealityKit from one source task. It exposes face_limit, a texture_size defaulting to 4096, a texture_format including WEBP, pack_uv, pivot_to_center_bottom, and scale_factor. Those last two settle the floor-placement and sizing problems that break AR previews. One caution: enabling quad forces the output to FBX, so keep triangles on the web path.

For products photographed from one angle, Tripo's segmentation step splits the model into parts, and mesh completion fills the geometry those cuts expose, which the documentation permits only on a model already handled by mesh segmentation. Every operation is an asynchronous task created by POST and polled by task ID, so a catalog batch can be queued by script.

Testing across iOS, Android and browsers before launch

Device testing is where format assumptions meet real hardware. Verify AR Quick Look in Safari on an iPhone and an iPad, then Scene Viewer on an ARCore supported Android device running Android 7.0 or later. Where the browser supports the WebXR Device API, check the immersive-ar session too, since it keeps the shopper inside your storefront.

Three checks catch most launch failures. Place the model beside a real object of known size to confirm meter scale. Confirm the pivot sits at the bottom center so the product rests on the detected floor. Watch for a viewer crash on an older phone, which usually points at texture memory well before polygon count. Judgment: test on the oldest device your analytics still show, because that device sets your real budget.

From product model to live WebAR preview: a practical workflow

This sequence takes one product photo to a live preview, and each step prevents a specific failure.

  1. Generate the base model in Tripo Studio from a clean product photo, choosing v3.1 for detail-heavy goods or P1 for a light asset.
  2. Run segmentation, then mesh completion, if the photo left hidden sides incomplete.
  3. Generate PBR textures, then check the maps against the physical product.
  4. Convert to GLTF with face_limit at your mobile budget, pivot_to_center_bottom on, and scale_factor tuned to meters.
  5. Convert the same source task to USDZ so both packages carry identical geometry and materials.
  6. Optimize the glTF path with Draco geometry and KTX v2 textures, then re-verify appearance.
  7. Publish both files on your CDN and embed model-viewer with src on the GLB and ios-src on the USDZ.
  8. Point a QR code at the stable preview URL, then run the device checks above before printing.

Judgment: steps four and five belong to one source task, since regenerating a model per format is how geometry and materials drift apart.

Shipping a complete WebAR delivery package

A finished WebAR preview is a package, and treating it as one file is the most common reason a launch slips. It holds a GLB for the browser and Android, a USDZ for Apple devices, a poster image for the pre-load state, a hosted viewer page, a QR code routed to a stable URL, and a short device test log. Ship those six items per product and the preview behaves predictably across your catalog.

Set against traditional modeling, an AI-assisted path lowers the entry barrier and cuts the manual hours between a product photo and a first usable asset. Tripo does not replace 3D designers or specialist DCC tools, and hero assets and brand-critical refinement still benefit from an experienced artist. For catalog-scale work, where hundreds of products each need a competent GLB and USDZ, generating and converting in one workspace turns a pilot into a program. You can try the generation and export path in Tripo Studio with a single product photo.