June 2015
Beginner
308 pages
7h 44m
English
CHAPTER 9
![]()
Exploring the Third Dimension
You’ve seen how to take a point in three-dimensional space and project it onto the screen so that it can be rendered. Projection is only part of the process of rendering a 3D scene; you also need to manipulate the points in the game to update the scene from frame to frame. This chapter introduces the matrix, which is a kind of mathematical shortcut used to manipulate the position and orientation of objects in a game.
You will also learn how to use Pygame with OpenGL to access the 3D graphics capabilities of your graphics card to create impressive visuals, on par with commercial games.
What Is a Matrix
Read now
Unlock full access