In this screencast (OpenGL video Tutorial), I explain how to do simple animations using the glut idle function. The function given as a callback to the idle function can be used to do interesting things (more than just animations)! I also talk about how to use the glut visibility function.
OpenGL commands used in this screencast: glutGet(), glutIdleFunc(), glutVisibilityFunc()
OpenGL parameters used in this screencast: GLUT_ELAPSED_TIME, GLUT_NOT_VISIBLE, GLUT_VISIBLE
The code is available to download on Github
Watch the Screencast
Code (this is not all of the code- please see the github link above for all of it)
Questions? E-mail me: this domain AT gmail DOT com