6

I am currently trying to work with AR in android but I have been given models in .usdz format. So far I have been looking for a way to convert this file into one that works with android (.fbx .obj .gltf), preferably being .gltf.

Can someone tell me if there is some support to this kind of conversion?

From what I have researched there is a support to convert files the other way around, meaning from .obj .fbx to .unsz.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
Sergio Pardo
  • 774
  • 6
  • 17

2 Answers2

4

Updated: May 05, 2023

USDZ to GLTF Conversion

At first, you need to install Autodesk Maya 2023 | 2024 with Maya USD plug-in.

Then unzip a USDZ zero-compressed archive to get a binary USDC (sometimes ascii USDA) file format and a set of textures. You need to import USDC into Maya. And if you need you can edit those PNG or JPG textures.

Unzipping a USDZ file in macOS

  • In macOS Finder change the suffix of USDZ file to ZIP.
  • Uncompress ZIP file using Archive_Utility.app or RAR_Extractor.app.

enter image description here

  • In Autodesk Maya (with pre-installed USD plugin) import USDC model.
  • Edit USDC model.
  • Use Babylon exporter to produce a glTF format.

Online USDZ to glTF Conversion

If you prefer online services, read about it in this post.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
2

Recording this for posterity.

You can convert a USDZ file to GLB easily through the following steps.

  1. Open said USDZ file in XCode.
  2. File -> Export... , select Digital Asset Exchange (DAE)
  3. From here you can choose any other tool like https://products.aspose.app/3d/conversion/dae-to-glb or https://github.com/KhronosGroup/COLLADA2GLTF (it's just much easier to find DAE to GLB convertors.)

Voila. However, do note that while on iOS quick look obeys your pivot point origin, but on Android Scene Viewer does not.

danieltan95
  • 810
  • 7
  • 14
  • When I use this method the gltf file seems to the get textures messed up. The shape works, but the textures are waaaay of. Anyone else have this issue? – Zachary Fisher Oct 28 '21 at 22:57