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

gltfpack: Preserve scenes during processing #188

Merged
merged 2 commits into from
Oct 11, 2020
Merged

gltfpack: Preserve scenes during processing #188

merged 2 commits into from
Oct 11, 2020

Conversation

zeux
Copy link
Owner

@zeux zeux commented Oct 10, 2020

Before this change gltfack wasn't scene aware, and would process all
nodes regardless of which scene they come from.

With this change, we now output the same number of scenes that the input
file contained. When merging meshes and converting nodes to mesh instances,
the process is limited to cases where the mesh is not used in multiple
scenes.

Fixes #184

zeux added 2 commits October 10, 2020 15:33
Before this change gltfack wasn't scene aware, and would process all
nodes regardless of which scene they come from.

With this change, we now output the same number of scenes that the input
file contained. When merging meshes and converting nodes to mesh instances,
the process is limited to cases where the mesh is not used in multiple
scenes.

Fixes #184
@zeux zeux merged commit 8a76413 into master Oct 11, 2020
@zeux zeux deleted the gltf-scenes branch October 11, 2020 04:51
@Inviz
Copy link

Inviz commented Oct 12, 2020

Thank you very much, master zeux!

May I ask about your plans to release the current gltfpack on npm? Current version seems a bit stale (does not support-km and it has some other things).

@zeux
Copy link
Owner Author

zeux commented Oct 12, 2020

0.15 should release later this month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Process multiple scenes without merging them
2 participants