kcoley / gltf2usd

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

Multiple Images assigned to mesh - not working on embedded GLTF variant #125

Closed wave-electron closed 5 years ago

wave-electron commented 5 years ago

@kcoley If you have multiple images assigned to the same mesh, the script seems to loop the correct amount of times, but copies the first image multiple times to the usdz archive. I've uploaded a gltf test file for you to use for testing if needed.

multipleImageTest.zip

kcoley commented 5 years ago

@wave-electron thanks for the model with multiple images. I did not do the binary extraction properly in the last fix, but it seems to be working now after my last PR: https://github.com/kcoley/gltf2usd/pull/127

test.usdz.txt

wave-electron commented 5 years ago

@kcoley Cool. Awesome work. Will give the new version a try.