• Advertisement
Sign in to follow this  

Lesson 33 with Glut

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


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.

Share this post

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

  • Advertisement