GLTFUtility icon indicating copy to clipboard operation
GLTFUtility copied to clipboard

some parts are importing with vertices and no triangles.

Open tuseroni opened this issue 5 years ago • 4 comments

the gltf imports into blender (in blender the parts are transparent for some reason, but all the faces are there, maybe it's doing something to guess the faces?) but when i try and import it to unity i only get a few of the meshes, the gltf was exported from three.js by means of the GTLFExporter, and i will attach it here. scene (8).zip

you can see the pegs import just fine, but the sides and the shelves are no where to be seen (one of the sides is mesh20, can tell by all the vertices)

thing is, i have no idea where the problem IS, is it the export or the import, i can say that blender is able to export and unity's 3d viewer can view it...so...i suspect it's with the import.

tuseroni avatar Jan 14 '20 18:01 tuseroni

Can you attach a screenshot of what it's supposed to look like?

Siccity avatar Jan 15 '20 06:01 Siccity

same here for me, imported model has vertices but no triangles. The GLBs are being correctly shown by visualizers but no mesh triangles with the importer

e.g. this imported .glb EXAMPLE

alfiolocastro avatar Jan 17 '20 12:01 alfiolocastro

In case it helps out: I think the bug is caused by underlaying STL embedded files that do not contain any index list primitive.indices.HasValue in GLTFMesh.cs is always false.

alfiolocastro avatar Jan 20 '20 17:01 alfiolocastro

I export the gltf from ThreeJS via GLTFExporter as well, but until now, everything worked well. But something changed on the server side, and now there are no indices, thus no faces. But only 1 type of object has this issue.

@pap3rinik @tuseroni @Siccity Anyone got any new clues about this issue?

udvaritibor avatar Jan 15 '21 15:01 udvaritibor