Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh #14056

Open
FrameBuffer4096 opened this issue Jul 18, 2023 · 6 comments
Open

Comments

@FrameBuffer4096
Copy link
Contributor

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

@gabrieljbaker
Copy link

this would be awesome!

@thomlucc thomlucc modified the milestones: 7.0, 8.0 Mar 12, 2024
Copy link

This issue has been automatically staled because it has been inactive for more than 14 days. Please update to "unstale".

@github-actions github-actions bot added the stale label Mar 27, 2024
@zylkowski
Copy link

Any progress on this? All thin instances I try to export to .glb become just empty nodes.

@sebavan
Copy link
Member

sebavan commented May 27, 2024

cc @bghgary

@Jeggery
Copy link

Jeggery commented Sep 6, 2024

Are you making progress?

@bghgary
Copy link
Contributor

bghgary commented Sep 6, 2024

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.

@thomlucc thomlucc assigned alexchuber and unassigned bghgary Nov 12, 2024
@SergioRZMasson SergioRZMasson changed the title .glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh REFACTOR PR - .glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh Nov 14, 2024
@SergioRZMasson SergioRZMasson changed the title REFACTOR PR - .glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh glTF Export Instanced Meshes as Nodes Pointing to the Same Mesh Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants