google / usd_from_gltf

Apache License 2.0
547 stars 85 forks source link

Converter doesn't work with variants #96

Open m-bagheri opened 2 years ago

m-bagheri commented 2 years ago

Hi guys,

Firstly thank you very much for creating such this great library and tool and made it publicly available so we could all benefit. Much appreciated.

I'm using your library and trying to convert a GLB file which has colour variants to USDZ. Looks like the library is not able to convert model files that have variants. Have you noticed this issue by yourself? Can you please let me know if this is a known issue or it's me doing something wrong?

Just for clarity I attach the 3d model GLB file I'm trying to convert which doesn't work.

Thank you guys and I look forward to your answer.

test-model.glb.zip

issacclee commented 2 years ago

KHR_materials_variants is not supported by this library, and I don't think there's equivalent thing in usd schema either...you'll probably have to implement it by yourself as this project is not maintained any more...