View Full Version : bmp load

02-21-2001, 07:41 AM
hi all

can someone please give me the code to load a bmp in opengl enviornment. i urgently and earnestly need it. and load all sorts of bmps.
desperately waiting!!!!!! :-(

02-21-2001, 08:50 AM
What language are you using?

Leyder Dylan
02-21-2001, 10:03 AM

Choose Lesson 6.

It's for OpenGL.

02-21-2001, 11:10 AM
dont use the glaux library www.openil.org (http://www.openil.org) library handles bmp's as well as jpg,tga,png etc

02-22-2001, 07:55 AM
i'll be using OpenGL API in VC++ interface. i've looked for the chapter 6 of nehe, but it fails to load a few windows bmp. i dont exactly know why!!!
i am still stuck, heeeeelp!!!

02-22-2001, 08:12 AM
I have some code, but it's only for 24bpp bitmaps. It also shows how to load BMP into texture objects.
Tell me if you want it anyway.

Michael Steinberg
02-22-2001, 10:24 AM
I've got code for 1/4/16/24bpp bmp's, not using any aux function, but works. Drop me a line...

03-09-2001, 07:56 AM
can i use your method to load bitmaps (not only 24bpp) from resources too ?