Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your help!

We need 7 developers from Canada and 18 more from Australia to help us complete a research survey.

Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!


Lesson 33 with Glut


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 Bakuto   Members   -  Reputation: 132

Like
0Likes
Like

Posted 04 November 2011 - 02:05 PM

I am unable to convert lesson 33 to use glut instead of that clunky windows API. Does anyone have a working copy of Lesson 33 with Glut? Thanks!

Sponsor:

#2 Caste   Moderators   -  Reputation: 969

Like
0Likes
Like

Posted 04 November 2011 - 09:30 PM

I am unable to convert lesson 33 to use glut instead of that clunky windows API. Does anyone have a working copy of Lesson 33 with Glut? Thanks!


What exactly is your problem? You should be able to use the TGA loading code in any existing GLUT application by copying over the structs Texture, TGAHeader and TGA, the TGA header definitions and the methods LoadTGA, LoadCompressedTGA and LoadUncompressedTGA.

Another method would be using the SOIL library for texture loading as explained here.






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