Lecture 8:
Viewing

Contents

Lecture Objectives

8-1

Moving the Eye

8-2

Viewing Transformations

8-3

Lab: Viewing Transformation Exercise

8-4

Using gluLookAt() to Look Elsewhere

8-5

gluLookAt() Viewing Frustum

8-6

gluLookAt() and the Matrix Mode

8-7

Example: lookat.c

8-8

Other Ways to See

8-9

Polar View

8-10

Figuring Out the Distance

8-11

Example: polarView.c

8-12

Mouse Input

8-13

Mouse Motion

8-14

Using Mouse Input to Control Your View

8-15

Example: mouse.c

8-16

Lab: Viewing

8-17

Lecture Summary

8-18

Sample Solutions For Viewing Exercise

8-19

OpenGL C Quick Reference

8-20