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

Support multiple binary chunks #52

Open
javagl opened this issue Aug 25, 2021 · 0 comments
Open

Support multiple binary chunks #52

javagl opened this issue Aug 25, 2021 · 0 comments

Comments

@javagl
Copy link
Owner

javagl commented Aug 25, 2021

According to the specification, there may be multiple binary chunks in a binary glTF asset. The first one is supposed to be the main binary buffer data. Others are implementation-defined.

Right now, the classes like GltfAsset* usually store all the binary data as a single ByteBuffer binaryData. This has to be generalized to handle multiple chunks, like a List<ByteBuffer> binaryDataChunks.

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

No branches or pull requests

1 participant