#Gltfexporter exports object with duplicate meshes
9 messages · Page 1 of 1 (latest)
i don't think we'll guess much from a screenshot, but ... are they duplicates in appearance too? or only in name?
if the original file had multiple 'mesh primitives' in a single glTF 'mesh', it would come out of three.js as multiple meshes... simply that concepts like meshes and materials do not always map 1:1 when going from <file format> to three.js to <file format> to Blender, and so on.
Or might be different structuring of skinned meshes and skeletons.
I would definitely expect some differences in structure after a GLTFLoader + GLTFExporter round trip, not sure what specifically is causing what you see in that screenshot, though.
name & apperance - here's the code
if one mesh has multiple materials, gltf exporter splits the mesh into multiple meshes having 1 material each (i think it's done for performance reasons)
Is there any way to bypass it? @past fog