View Full Version : bmp load
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?
02-21-2001, 10:03 AM
Choose Lesson 6.
It's for OpenGL.
dont use the glaux library www.openil.org (http://www.openil.org) library handles bmp's as well as jpg,tga,png etc
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!!!
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.
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...
can i use your method to load bitmaps (not only 24bpp) from resources too ?
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.