mrdoob/three.js — Issue #674: ColladaLoader(): textures not rendering when image id different from image file name
Author: luzc
Created: 2011-10-22 08:17:05+00:00
State: open

Hi,

First of all: it's really cool that you have added collada support to three.js :)

On the not-so-happy side: I have a problem with textures that appear to not render when the image id on the collada file doesn't match the file name of the image. As far as I know (although I may be wrong, I really may be wrong, I'm not just saying it) this does not necessarily happen in every collada file. And I can't just change the ids to match the file names because I seem to have several images with the same file name :S (see sample image library below)

More info: I've come across this issue using your own example webgl_collada.html and modifying monster.dae to show a different image id instead of "monster.jpg" (I did this while trying to figure out why the textures in image libraries that look like the code below wouldn't render.

../images/texture10.jpg

../images/texture11.jpg

../images/texture11.jpg

../images/texture12.jpg

Could you please tell me how to solve this?

Thanks!

Luz (@gerbille)