I've changed two small things in Cal3dSubmesh and CalCoreMaterial. Please check the diffs. I've also added TODOs, which you can remove after you saw them.
The texture loading part is fixed now. But the scene is still screwed up and I don't think this is because of the TextureLoader part. One error still is, that the texture resource read from the model file is:
//tex_archer.png
It starts with //, which it shouldn't. Unfortunately the specific file is binary and I couldn't simply remove those slashes. But for some reason the texture is loaded anyway.
After the texture is loaded correctly it is displayed in the scene only for one single frame and then disappears. Could be something in the render code, but if it was, why don't any other textures disappear? So I guess it is in the cal loader. Any idea, what it could be?
I didn't find any other place in the loader code, where a texture is loaded, and you know the loader much better than I do. So could you please check it and tell me, if the error is in the loader?
Marvin