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
Loading BMP file using C++
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
Otherwise you should take alook at lessons 24 and 33 which deals with tga loading and is much more appropriate for openGL use
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement