Module 9 Flashcards
Specify Current Matrix Stack
glMatrixMode ( GL_MODELVIEW or GL_PROJECTION
Viewport
usually same as window size
glViewport ( x, y, width, height)
Perspective projection
gluPerspective ( fovy , aspect, zNear , zFar
glFrustum ( left, right, bottom, top, zNear , zFar
Orthographic parallel projection
glOrtho ( left, right, bottom, top, zNear , zFar
gluOrtho2D( left, right, bottom, top )
Projection transformations ( gluPerspective , glOrtho ) are _______
left handed
Everything else is _________, including the vertexes to be rendered
right handed
With an orthographic projection, the viewing volume is a rectangular
parallele piped , or more informally , a box
glOrtho ( left, right, bottom, top, zNear , zFar
allocate a Z buffer for hidden surface
elimination
GLUT_DEPTH
define a viewing transformation
glulookAt
The matrix mode to use in glMatrixMode() to transform camera on the screen.
Group of answer choices
GL_MODEL
GL_MODELVIEW
GL_PROJECTIONVIEW
GL_PROJECTION
GL_MODELVIEW
_________ is a rigid body transformation that moves objects without deformation.
Group of answer choices
Translation
Scaling
Rotation
All of the mentioned
Translation