Loading BMP file using C++

Started by
0 comments, last by lc_overlord 12 years, 9 months ago
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
Advertisement
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

This topic is closed to new replies.

Advertisement