01/31/2002
15-462 Graphics I
13
Order of Viewing Transformations
•
Think of moving the world frame
•
Viewing transfn. is inverse of object transfn.
•
Order opposite to object transformations
•
•
•
•
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glTranslatef(0.0, 0.0, -d);
/*T*/
glRotatef(-90.0, 0.0, 1.0, 0.0); /*R*/