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: Output buffers[] list after extension list #818

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

zeux
Copy link
Owner

@zeux zeux commented Dec 10, 2024

Semantically these are exactly the same - JSON output is unordered. However, when inspecting the files manually, it makes more sense to see assets/extensions first. We could append buffers at the end, but we try to follow logical order wrt referencing glTF objects earlier in the JSON stream just in case streaming parsers want to take the opportunity to optimize the parsing flow.

Semantically these are exactly the same - JSON output is unordered.
However, when inspecting the files manually, it makes more sense to
see assets/extensions first. We could append buffers at the end, but we
try to follow logical order wrt referencing glTF objects earlier in the
JSON stream just in case streaming parsers want to take the opportunity
to optimize the parsing flow.
@zeux zeux merged commit d95c7fe into master Dec 10, 2024
12 checks passed
@zeux zeux deleted the gltf-bufferspec branch December 10, 2024 20:57
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.

1 participant