KhronosGroup / COLLADA2GLTF

COLLADA to glTF converter
Other
532 stars 156 forks source link

Segfaults, vertices strewn in random places, missing faces, etc. #293

Open dgatwood opened 2 years ago

dgatwood commented 2 years ago

I've been trying to convert a dae file into DAZ. The original file can be downloaded from here (free account required):

https://3dwarehouse.sketchup.com/model/b008ecc8d46e346343da6f498cb41285/Industrial-dishwasher?hl=en

When Daz imports it, all three doors are missing, along with their handles and several other surfaces.

When Blender imports it, the center and right doors are missing, along with their handles.

When collada2gltf translates it, the right handle is missing.

At least with Blender's import of both the original .dae file and the translated version, there are dozens of vertices strewn around in what seem like completely random locations.

The fact that different translators fail on the same surfaces in progressively less broken ways suggests to me that this is a translation/import bug, rather than a corrupt model.

Various flags (-g, -d, -v 1.0 etc.) also segfault with this input file, which may or may not be related.