Open tuseroni opened 4 years ago
Can you attach a screenshot of what it's supposed to look like?
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
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.
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?
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.