Open FrameBuffer4096 opened 1 year ago
this would be awesome!
This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".
Any progress on this? All thin instances I try to export to .glb become just empty nodes.
cc @bghgary
Are you making progress?
I have a local branch that overhauls the code to make this happen, but this won't be done for a while as it's a large change.
Overview: When importing .glTF files, Babylon.js creates instanced meshes when two nodes point to the same mesh however, the opposite does not happen in the exporter which may result in reduced performance of scenes loaded into Babylon.js and subsequently exported due to the exported file no longer having nodes pointing to the same mesh.
Solution Sought: I would like to see Babylon.js .glTF export instanced meshes as nodes pointing to the same mesh.
Discussion: Forum Reference