GLB to USDZ Converter for AR Quick Look
Convert GLB or glTF 3D models to USDZ for AR Quick Look on iPhone and iPad, check the real-world scale, triangles, materials and textures, preview the model in 3D and copy the HTML code for an AR link.
Berjalan dalam pelayar anda. Fail anda tidak pernah meninggalkan peranti. Lihat cara menyemaknya
…
Cara melakukannya
- 1Open the model
Drop a .glb, or a .gltf with its .bin and textures selected together.
- 2Check the scale
Read the size in metres or centimetres and set the unit the model was made in.
- 3Review the checks
Look at triangles, materials, textures and the notes on anything not converted.
- 4Set the options
Keep Stand on the floor on, choose the texture size limit and the file name.
- 5Convert
Press Convert to USDZ and download the file, the poster and the .usda text if needed.
- 6Publish
Upload the files and paste the embed code, then test on an iPhone or iPad.
Tentang alat ini
Online shops, museums and estate agents use 3D models so customers can place a chair, a lamp or a sculpture in their own room. Android phones and web viewers read GLB, the binary form of glTF, but Safari on iPhone and iPad opens AR Quick Look only for USDZ files. Converting usually means installing Reality Converter on a Mac or Blender with extra add-ons. This converter does it in your browser. Open a .glb file, or a .gltf with its .bin and texture files selected together, and the model is read on your device: every triangle mesh with the node transforms baked in, normals, the first set of texture coordinates, and the glTF metallic-roughness materials, meaning base colour factor and texture, metallic and roughness factors and texture, normal map, emission and alpha mode. The page then writes a USD scene in text form with one UsdPreviewSurface material per glTF material, packs it with the textures into a USDZ archive and checks the archive the way Apple's loader expects it: no compression, the scene first, and every file starting on a 64-byte boundary. Textures in WebP are re-encoded as PNG, and textures larger than the limit you choose are scaled down. Because AR shows the model at its true size, the scale check comes first: the page shows width, height and depth in metres or centimetres and warns when a model looks like it was made in the wrong unit.
Scale and placement
glTF uses metres, but many models from CAD and game tools are exported in centimetres or millimetres, so a 45 cm stool appears 45 m tall or a few millimetres small. Pick the unit the model was made in, or type a factor. Stand on the floor moves the model so its lowest point sits on the ground and its centre is above the origin, which is how AR Quick Look places it on a table or the floor.
Using the result
Upload the .usdz and a poster image next to your web page and paste the embed code: a link with rel="ar" around an image. On iPhone and iPad, Safari then opens the model in AR when the image is tapped. Your server should send .usdz files with the MIME type model/vnd.usdz+zip. The poster can be saved from the 3D preview.
Limits
Meshes compressed with Draco or meshopt are not read; export the model again without mesh compression. Animations, skins, morph targets, cameras and lights are dropped, so animated models appear still in their rest pose. KTX2 and Basis textures and texture transforms are not converted. Clearcoat, sheen and transmission have no equivalent and fall back to the base material. The preview shows flat colours, not textures. The result has not been checked on every iOS version; test it on the devices your visitors use.
Contoh berselesaian
A furniture seller has stool.glb, 6.8 MB, exported from a CAD program in centimetres. The scale check reads 45.00 m × 48.00 m × 45.00 m, clearly too big, so the seller sets the unit to centimetres and the size becomes 45.0 cm × 48.0 cm × 45.0 cm. The model has 24,600 triangles in 3 parts, 2 materials and 3 textures of 4096 × 4096 pixels. With the 2048 pixel limit each texture shrinks to a quarter of its pixels, and the USDZ comes out at about 3.9 MB. In the embed code the seller links stool.usdz with stool-poster.png, uploads both to the product page, and an iPhone customer taps the picture to see the stool on their kitchen floor at its real height.
Ringkasnya
- Kategori: Imej
- Berjalan dalam pelayar, tanpa pendaftaran, tanpa muat naik.
- Maklumat yang anda masukkan kekal pada peranti anda.
- Tersedia dalam bahasa Inggeris.
- Kandungan disemak kali terakhir:
- Sumber rasmi: Khronos glTF 2.0 specification; OpenUSD usdz file format (uncompressed ZIP, 64-byte aligned) and UsdPreviewSurface
Soalan lazim
Why does my iPhone need USDZ instead of GLB?
AR Quick Look, the AR viewer built into iOS and iPadOS, reads USDZ and Reality files. GLB works on Android and in web viewers, so shops usually offer both and link the right one per device.
Why is my model huge or tiny in AR?
The file was probably made in centimetres or millimetres while glTF expects metres. Set the unit in the converter and check the size shown in the scale check before converting.
Are textures and materials kept?
Yes. Base colour, metallic, roughness, normal and emissive textures and factors become UsdPreviewSurface inputs. Transparent and cut-out materials keep their alpha. Effects such as clearcoat or transmission fall back to the base material.
Can it convert animated models?
No. Animations, bones and shape keys are dropped and the model appears in its rest pose. Use a desktop tool such as Reality Converter or Blender for animated USDZ files.
What does 64-byte aligned mean?
A USDZ is a ZIP archive whose files must be stored without compression and start at byte positions divisible by 64, so iOS can read them directly from memory. The converter checks this before you download.
How do I show the AR button on my website?
Paste the embed code: a link with rel="ar" to the .usdz file around an image. Safari on iPhone and iPad shows the AR badge on that image and opens Quick Look when it is tapped.
