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

materialEntry is undefined #224

Closed
benbro opened this issue Feb 10, 2014 · 6 comments
Closed

materialEntry is undefined #224

benbro opened this issue Feb 10, 2014 · 6 comments

Comments

@benbro
Copy link

benbro commented Feb 10, 2014

I converted this model to dae in blender and than to glTF
https://github.com/mrdoob/three.js/blob/master/examples/obj/tree/tree.obj

Getting an error in FF:

TypeError: materialEntry is undefined
mesh.addPrimitive(geometry, materialEntry.object);
glTFLoader.js (line 933)

Please let me know if it's too soon to report issues like this.

@fabrobinet
Copy link
Contributor

This is fixed in the upcoming dev-4 branch. In the meantime to work-around, you need to make sure a material is assigned to your mesh. Duplicate of: #194

@benbro
Copy link
Author

benbro commented Feb 10, 2014

I'll try the dev-4 branch.
Thanks

@benbro benbro closed this as completed Feb 10, 2014
@fabrobinet
Copy link
Contributor

@benbro there is also a fix for OpenCOLLADA that is not pushed yet that you might need. If you still get issues with this, please let me know.

@benbro
Copy link
Author

benbro commented Feb 13, 2014

When I'm trying to run collada2gltf from dev-4 it complains about mising libx.so but collada2gltf from master works fine

./collada2gltf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./collada2gltf)

@fabrobinet
Copy link
Contributor

@benbro which unbuntu version do you have ?. I tried master too, will try dev-4...

@fabrobinet
Copy link
Contributor

@benbro also, please file another issue with your config details, thank you !

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