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

glTF Binary format does not support #21

Open
cx20 opened this issue May 13, 2017 · 0 comments
Open

glTF Binary format does not support #21

cx20 opened this issue May 13, 2017 · 0 comments

Comments

@cx20
Copy link

cx20 commented May 13, 2017

I failed to load the following model. It is probably because the loader does not support the glTF binary format yet.

Model : BoxTextured / glTF-Binary
https://github.com/cx20/gltf-test/tree/2.0/sampleModels/BoxTextured/glTF-Binary

Result :
https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194ba0/examples/grimoiregl/index.html?category=sampleModels&model=BoxTextured&scale=1&type=glTF-Binary

Uncaught (in promise) SyntaxError: Unexpected token g in JSON at position 0
    at JSON.parse (<anonymous>)
    at DefaultParserModule.loadAsGLTF (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194ba0/libs/grimoiregl/grimoirejs-gltf/0.0.5/grimoire-gltf.js:872:25)
    at GLTFParser.callParserModule (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194ba0/libs/grimoiregl/grimoirejs-gltf/0.0.5/grimoire-gltf.js:1258:43)
    at GLTFParser._callee$ (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194ba0/libs/grimoiregl/grimoirejs-gltf/0.0.5/grimoire-gltf.js:1284:45)
    at tryCatch (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194…rimoiregl/grimoirejs-preset-basic/1.9.28/grimoire-preset-basic.js:34949:40)
    at Generator.invoke [as _invoke] (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194…rimoiregl/grimoirejs-preset-basic/1.9.28/grimoire-preset-basic.js:35187:22)
    at Generator.prototype.(anonymous function) [as next] (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194…rimoiregl/grimoirejs-preset-basic/1.9.28/grimoire-preset-basic.js:35001:21)
    at fulfilled (https://cdn.rawgit.com/cx20/gltf-test/bd72508c7291cc50eddeaeef1d0dfb35fe194ba0/libs/grimoiregl/grimoirejs-gltf/0.0.5/grimoire-gltf.js:1215:32)
    at <anonymous>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants