View Full Version : Problem With Some BMP Textures

10-29-2001, 11:32 AM
I have a quite comic problem... I want to load a texture from a BMP file.... Other objects in my scene use BMP texture and all is ok,but with this BMP,it doesn't work and the aera stay white...I have tried a lot of things and I am sure that the problem comes from the BMP file...
Does many types of BMP exist???
How can I do to make it understandable for OpenGL???

10-29-2001, 12:25 PM
It may very well be that the file is not a valid texture size?? 32x32, 64x64, 128x128, 256x256 are all valid.

Try checking glError after the texture commands.
What are you using to load the textures?

10-29-2001, 04:50 PM
Depending on the method you use to load the texture you may also want to check the color depth, try using paint to set it to 24bit

10-29-2001, 11:16 PM
I use LoadBMP to load the texture...
I am going to try with a resized image in 256x256