Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Some models use data-uri media type 'gltf-buffer' instead of 'octet-stream', is it right? #244

Closed
shrinktofit opened this issue Dec 24, 2019 · 1 comment

Comments

@shrinktofit
Copy link

spec says:

*.bin files use application/octet-stream

So I add this validation to my glTF reader. Is this necessary or should I just ignore the media type when decode buffer data-uri?

@lexaknyazev
Copy link
Member

There's a pending PR to update the spec: KhronosGroup/glTF#1180

Both options are valid.

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

No branches or pull requests

2 participants