Chapter 4. Geometric Transformations: The Pipeline
by Richard S. Wright, Jr.
WHAT YOU'LL LEARN IN THIS CHAPTER:
How To | Functions You'll Use |
---|---|
Establish your position in the scene |
|
Position objects within the scene |
|
Scale objects |
|
Establish a perspective transformation |
|
Perform your own matrix transformations |
|
|
|
In Chapter 3, “Drawing in Space: Geometric Primitives and Buffers,” you learned how to draw points, lines, and various primitives in 3D. To turn a collection of shapes into a coherent scene, you must arrange them in relation to one another and to the viewer. In this chapter, you start moving shapes and objects around in your coordinate ...
Get OpenGL® SuperBible, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.