Chapter 3. Viewing

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• View a geometric model in any orientation by transforming it in three-dimensional space

• Control the location in three-dimensional space from which the model is viewed

• Clip undesired portions of the model out of the scene that’s to be viewed

• Manipulate the appropriate matrix stacks that control model transformation for viewing, and project the model onto the screen

• Combine multiple transformations to mimic sophisticated systems in motion, such as a solar system or an articulated robot arm

• Reverse or mimic the operations of the geometric processing pipeline


For OpenGL Version 3.1, many of the techniques and functions ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.