PDA

View Full Version : bmp load



02-21-2001, 08: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!!!!!! :-(

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

Leyder Dylan
02-21-2001, 11:03 AM
Hi,
http://nehe.gamedev.net/opengl.asp

Choose Lesson 6.

It's for OpenGL.

zed
02-21-2001, 12:10 PM
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, 08: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!!!
thanks

Moz
02-22-2001, 09: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, 11: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, 08:56 AM
can i use your method to load bitmaps (not only 24bpp) from resources too ?