PDA

View Full Version : Is there a function to load a bmp file for texture mapping?



touch
07-30-2003, 11:54 PM
I know that auxDIBImageLoad works. Is there any other function can do this?

thanks and sorry for my poor English. http://www.opengl.org/discussion_boards/ubb/smile.gif

kehziah
07-31-2003, 12:05 AM
In OpenGL no. Outside, there are plenty of 3rd party image loading libraries. I would recommend DevIL ( http://www.imagelib.org ), which can load (and save) many image formats (BMP, TGA, JPG, PNG....), and is easy to use.