At the 2018 WWDC Apple annouced the introduction of new USDZ file format.
https://developer.apple.com/videos/play/wwdc2018/603/
In relation to creating USDZ file the following was said:
To create your own usdz files, a usdz_converter has been bundled as part of Xcode 10 beta. Its a command line tool for creating the usdz file from OBJ files, Single-frame Alembic (ABC) files, USD file (either .usda or usd.c)
the basic command line is
xcrun usdz_converter myFile.obj myFile.usdz
I have installed Xcode 10 beta, but have been unable to run or even find usdz_converter in the Xcode 10 beta bundle made available on the 4th June 2018 (build 10L176w).
note: I’m still running on macOS highSierra, I have not installed macOS Mojave 10.14 beta yet... but didn’t think that should be the reason why.
Has anyone else been able to get this xcrun usdz_converter to work?
If so please share the steps.
You have to enable the Xcode 10 command line tools on Xcode > Preferences > Locations
usdzconvert
command for Xcode 11So, if you want to use
USDPython
tools you need to create a Shell Resource file.zshrc
using the following Terminal command:Then you have to open this file using:
Now you can add these lines into zsh resource file:
Save it and restart Terminal.
usdzconvert
is a Python script that converts the following assets intousdz
:xcrun usdz_converter
command for Xcode 10You have to activate the command line tools in Xcode preferences, in case they're not actived yet (that was my case). See this topic:
How to create a USDZ file?