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

Documentation for binary file #360

Closed
adius opened this issue Feb 23, 2015 · 1 comment
Closed

Documentation for binary file #360

adius opened this issue Feb 23, 2015 · 1 comment

Comments

@adius
Copy link

adius commented Feb 23, 2015

Is there any documentation on the structure of the binary file.
I want to create it from mesh data, but have no idea where to get started.

@pjcozzi
Copy link
Member

pjcozzi commented Feb 25, 2015

As long as byte alignment is correct (see #167), the binary file can be laid out any way the tool generating it wants. In the glTF JSON, bufferViews point into sections of the binary data (and accessors point into bufferViews) so this is what defines the layout, not the glTF spec itself.

@pjcozzi pjcozzi closed this as completed Aug 21, 2015
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

2 participants