materialEntry is undefined #224

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

2 participants

@benbro

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

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

I'll try the dev-4 branch.
Thanks

@benbro benbro closed this Feb 10, 2014
@fabrobinet

@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

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

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

@fabrobinet

@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