Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Convert .USDz formats to .OBJ or .ABC files?

I have been trying to build a solution to converting from .USDZ to other [3D formats]. Using online options you may convert [3D formats] to .USDz using: https://www.vectary.com/3d-modeling-how-to/how-to-create-usdz-file-for-ar-online/ or https://www.vectary.com/3d-modeling-news/usdz-converter-create-usdz-files-for-free-online-with-vectary/

Using Houdini plugins was not successful I was only able to import not export .USDz.

This basic command line converts from OBJ files, Single-frame Alembic (ABC) files, USD file (either .usda or usd.c) to .USDz.

xcrun usdz_converter myFile.obj myFile.usdz

Will this command convert the other way.

I have also found that this command line will convert [.OBJ, .ABC] to .USDz but don't know if it will convert the other way:

usdcat --flatten -o myFIle.abc myFile.usd
like image 224
Declan Clarke Avatar asked Feb 04 '19 15:02

Declan Clarke


People also ask

How do I open a .USDZ file?

You do not need to install specialized software to open a USDZ document, just open this application using a web browser, and drag your document into the upload area, and click the view button, your document will open in the browser regardless of whether you are using Windows, Linux, MacOS, Android or even a mobile ...

What is a .USDZ file?

Currently, Android does not support USDZ and has its own equivalents, gLTF and gLB. The file format can render several objects and supporting files in one file, including data for mapping, textures, rigging, geometry, and more.


1 Answers

If you have macOS + Xcode you can open .usdz file in the default viewer and export it to .obj file.

With your mydocument.usdz file open, select File -> Export and then select "Geometry Definition File Format"

enter image description here

like image 170
Saico Avatar answered Oct 05 '22 02:10

Saico