← lab

USDZ & AR Quick Look

Loads a GLB, generates a USDZ companion entirely in-browser via the three.js USDZExporter, uploads it to R2 through the /api/avatars/presign-usdz action, then renders <model-viewer> with both src and ios-src. Tap the AR button on iPhone Safari to verify Quick Look opens. Nothing here touches the live /create or /avatars/:id flow.

ready.