PDA

View Full Version : Loading a Bitmap for Texture mapping



Markkos
06-03-2004, 03:34 AM
I's trying to map a texture on a floor, only i can't load my texture from a bitmap. Can somebody tell me how to load a bitmap in Linux?

pantxua
06-03-2004, 04:16 AM
you can try this code :
http://belzel.free.fr/loadbmp/loadbmp.zip
it loads a bmp file and creates a texture with the content of the bmp.