kcoley / gltf2usd

command-line utility for converting glTF 2.0 models to USD
MIT License
263 stars 39 forks source link

Add direct usdz export support #9

Closed kcoley closed 6 years ago

kcoley commented 6 years ago
wave-electron commented 6 years ago

This would be a good feature.

ox commented 6 years ago

I noticed that the usdzip tool just uses Usd.ZipFileWriter.CreateNew(usdzFile) and calls addFile to the zipfileWriter instance. Is this the way to go?

kcoley commented 6 years ago

@ox yep, that's one way to go. There is another call that specifically targets ARKit in the API:

UsdUtils.CreateNewARKitUsdzPackage(usd_file, usdz_file)