WEEK 4:  September 29 - October 5

OUTLINE:

Homework Review Wednesday, Sept. 29

Exam Friday, Oct. 1 - Open Book/Notes

Morphing (tweening) Hill: Section 4.5.4

Other Tricks of the Trade

  • Using double buffering

    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB);

    glutSwapBuffers();  //instead of glFlush();


  • Generating the points to be plotted, rather than assigning them

  • Drawing Curved Lines, using PI for the parameter

  • Starting and Stopping Animation with the Mouse
    • glutIdleFunc(idle)

REFERENCE(S):

Computer Graphics Using OpenGL (Hill):

  • Chapter 3 (3.1 - 3.5)
  • Section 4.5.4 Tweening for Art and Animation


OpenGL Manual/v.1.2:
p. 129-130
GLUT Programming Interface:

DEMOS and FILES:

  

EXERCISES: CLICK FOR PRINTABLE VERSION OF EXERCISES