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

collada2gltf is not working properly @ three.js glTF loading example #540

Closed
mikim opened this issue Feb 25, 2016 · 3 comments
Closed

collada2gltf is not working properly @ three.js glTF loading example #540

mikim opened this issue Feb 25, 2016 · 3 comments

Comments

@mikim
Copy link

mikim commented Feb 25, 2016

I used collada2gltf binary to convert a dae format to glTF.
https://github.com/KhronosGroup/glTF/releases (mac version)

I tested a converted glTF model using r74 glTF loading example.
https://github.com/mrdoob/three.js/releases
http://threejs.org/examples/#webgl_loader_gltf

I added a glTF model to the sceneList.
https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_gltf.html#L370

First, output json file was not parsed by
https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/gltf/glTF-parser.js

I had to change "uri" to "path".
I had to add "instanceTechnique" key to "materials".

Then all error messages was gone.

But there was no model in the display. So can you figure this out?

@mikim
Copy link
Author

mikim commented Feb 25, 2016

Oh! examples provided here are working greatly.

But when I gave an option with compression Open3DGC, web browser give an error as follows:
Uncaught RangeError: Invalid typed array length at glTFLoader.js:442.

maybe @tparisi can figure this out?

@pjcozzi
Copy link
Member

pjcozzi commented Mar 1, 2016

@mikim the compression work is not ready; it is still a work-in-progress, see #398.

@pjcozzi
Copy link
Member

pjcozzi commented Jul 16, 2017

OBE. Keep an eye on the Draco compression work: #874

@pjcozzi pjcozzi closed this as completed Jul 16, 2017
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