Texture replacement problem

Hello, I have this weird problem. I have a blender file here, the uvs are fine and everything, when I load it in panda3d its still fine, but when I load a texture with setTexture() then everything is screwed

I dont know why, maybe you do, thats why I’m posting the blender file and asking you to chicken export and try to find a solution for this problem.

The file for you to investigate is this: 4shared.com/file/205513074/9 … chive.html

Thanks in advance :slight_smile:

I haven’t looked at your file, but this is a common confusion when you use named uv coordinates or some other special feature that requires Panda to create a custom TextureStage for your original texture. In this case, you must use the same TextureStage to override the texture; the easy way to find this is with something like this:

ts = model.findTextureStage('*')
model.setTexture(ts, newTexture, 1)

David