Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Difference in GLUT and WIN32 API Versions for Tutorial #5

This topic is 5547 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

Hi There! I was referring to NeHe''s WIN32 API Tutorials earlier, but I found them a bit difficult right in the beginning, hence, shifted to using GLUT.But I noticed a huge difference in Tutorial 5. The quadilateral when rendered using GLUT is NOT the same! I am wondering why? The same vertices, same colors...in fact the code for drawing in both is the same ...except that the GLUT version uses glPushMatrix() and glPopMatrix()! In the GLUT Version, the front and back faces take the same color as do the top and bottom.Only the left and right faces seem to have the same color as set!Orange and Green are never visible.This gives the spinning quad a very funny appearance. I am wondering why that is. Perhaps I am missing something that causes this.Please point that out.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!