Week 6:  October 13 - October 15

OUTLINE:

Wednesday, Oct. 13:  Guest Speaker - Dr. Brent Insko, Intel


2D and 3D Transformations

Transformations of Objects       Hill: Chapter 5;   

Affine Transformations

Task: Develop general procedures for applying translation, rotation, and scaling parameters to reposition and resize 2D objects. Then extend to 3D.

  • Translation
    • with respect to the origin
    • with respect to an arbitrary fixed point
  • Scaling
    • with respect to the origin
    • with respect to an arbitrary fixed point
  • Rotation
    • with respect to the origin
    • with respect to an arbitrary fixed line

  • Homogeneous Coordinates

  • Composition of Transformations 

  • OpenGL and Affine Transformations

  • the pipeline
  • the Current Transformation
    • the stack
    • Matrix Multiplication
      • the Identity Matrix

    • 3D Affine Modeling Transformations   (MODELVIEW matrix)
      • scale (sx, sy, sz)
      • translate (tx, ty, tz)
      • rotate with respect to a vector

REFERENCE(S):

Computer Graphics Using OpenGL (Hill):
      Chapter 5;

OpenGL Manual/v.1.2:
  Modeling Transformations, pages 104 - 112;
GLUT Programming Interface:

DEMOS and FILES:

/classes/cs3014/files/Transformations/demo_transform1.cpp
/classes/cs3014/files/Transformations/demo_transform2.cpp
/classes/cs3014/files/Transformations/demo_transform3.cpp
/classes/cs3014/files/Transformations/demo_transform4.cpp

EXERCISES: Week 5 Carryover