google / usd_from_gltf

Apache License 2.0
547 stars 85 forks source link

Segmentation fault when trying to convert #76

Open ghost opened 3 years ago

ghost commented 3 years ago

Platform: Amazon Linux USD version: USD 20.02 Example files

I have provided 2 gltf files, which are at some point converted to .glb and then to .usdz using usd_from_gltf. I Also provided the converted glbs. It's worth noting that the gltfs are draco compressed.

The files are identical except that TEXCOORD_0 and TEXCOORD_1 values have been removed from the attributes under primitives and also from attributes under extensions.KHR_draco_mesh_compression in one of the files.

To reproduce, simply convert the file that keeps TEXCOORD values (broken.glb) to usdz.

Screenshot 2021-03-12 at 10 13 33

The glTF Validator claims that both the non-working and working files are valid and glTF viewer display the models without any issue.

Any ideas why this might happen?