Well, I finally used a texture that wasn't symmetrical and found an interesting problem.
The bitmap is backwards.
When I create the model in Milkshape, we set the location of the texture which is a png at the time.
When I load the mesh, I call the setMaterialTexture to apply the bitmap, but it's backwards.
Has anyone else seen this?
Backwards bitmaps
Backwards bitmaps
Crud, how do I do this again?
I'm wondering if it's due to the way Milkshape handles textures and how those textures are stored.
I haven't looked into how PNGs are stored, but I'm wondering if the texture X coordinates are stored for a PNG, and when it's loaded into Irrlicht, it's sets up the coordinates for a PNG, but I go and toss in a BMP instead.
That may also be a clue as to why Milkshape blows when I try to switch my PNG out for a BMP after generating the model....
Will try it out when I get home.
I haven't looked into how PNGs are stored, but I'm wondering if the texture X coordinates are stored for a PNG, and when it's loaded into Irrlicht, it's sets up the coordinates for a PNG, but I go and toss in a BMP instead.
That may also be a clue as to why Milkshape blows when I try to switch my PNG out for a BMP after generating the model....
Will try it out when I get home.
Crud, how do I do this again?