lab7 - Projections and Viewing Computer Graphics Lab 06...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
Projections and Viewing Computer Graphics Lab 06
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Contents In this section we will learn how to render a 3D model. Defining projection. The 3D orthographic projection. The 3D Perspective projection. Viewing transformations. Lab exercise.
Background image of page 2
Defining projection We are already familiar with a 2D world definition. However, we live in a 3D world but the screen where the rendered objects appear is a 2D space. Thus, we need to convert somehow our 3D world to 2D. The operation which does this conversion is called projection. The GLU command that defines a 2D projection is gluOrtho2D(…). Using this command we define a bounding rectangle. The extension to 3D would be a bounding box, which is defined with the more general GL command glOrtho(…) .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Projection Transformations – Ortho
Background image of page 4
Ortho example
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Perspective Projection
Background image of page 6
Projection Transformations – Perspective (1)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Perspective (2)
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/14/2011 for the course CS 61118 taught by Professor Alexfrid during the Fall '11 term at Technion.

Page1 / 18

lab7 - Projections and Viewing Computer Graphics Lab 06...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online