












Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!













Jaime Veintimilla Reyes
Viewing requires several basic elements: u One or more objects u A viewer (Center of Projection, COP) u A projection plane u Projectors (from the object(s) to the COP)
parallel viewing is the limit of perspective viewing 4
Projection Parallel Perspective Orthogonal Oblique
The OpenGL Camera u In OpenGL, initially the object and camera frames are the same u Default model-view matrix is an identity u The camera is located at origin and points in the negative z direction 1
OpenGL also specifies a default view volume that is a cube with sides of length 2 centered at the origin u Default projection matrix is an identity 1
Positioning the Camera u To visualize objects we can either: u Move the camera in the positive z direction u Move the objects in the negative z direction u Both of these views are equivalent and are determined by the model- view matrix 1
Moving Camera back from Origin default 1 after translation
Projections u The default projection is orthogonal u For points within the default view volume 1
Homogeneous Coordinate Representation x p = x yp = y zp = 0 wp = 1 1 p p = Mp M =
default orthogonal projection
Equivalency 1
OpenGL Orthogonal Viewing left, right, bottom, top, near, far 2 near and far measured from camera