Jump to content

  • Log In with Google      Sign In   
  • Create Account


Loading BMP file using C++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 chayanvinayak   Members   -  Reputation: 100

Like
0Likes
Like

Posted 28 July 2011 - 05:46 PM

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

Sponsor:

#2 lc_overlord   Members   -  Reputation: 435

Like
0Likes
Like

Posted 29 July 2011 - 04:57 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS