Sign in to follow this  

Loading BMP file using C++

This topic is 2365 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello ,

Is there any good example code with explanation for loading BMP file for texturing using C++ ?
I tried to take a look at Nehe.gamedev.net and they are using some old GLAUX.h which does not exist any more and one of the other video tutorial website does not show how they loaded the bmp files they just showed how to apply loaded bmp file for texturing.

Thanks
Chayan Vinayak

Share this post


Link to post
Share on other sites
If you really still want to load bmp files then lesson 6 should still work, just replace glaux with the replacement code below in my signature, it should still work.
Otherwise you should take alook at lessons 24 and 33 which deals with tga loading and is much more appropriate for openGL use

Share this post


Link to post
Share on other sites
Sign in to follow this