Summary
In this chapter, we covered a lot of new material related to creating a 3D game. You learned how the game camera worked just like a video camera. Anything in the camera's frustum will be rendered to the screen. You also learned about the 3D coordinate system that is used to place objects in a 3D world. Finally, you learned about matrices and vectors, which form the underpinning of how 3D objects are manipulated.
Finally, we started with a blank project and walked through all of the code required to set up a 3D game that will use OpenGL to render. Remember, you will never have to memorize this code! But, it is important that you have a basic understanding of what purpose each line of code serves.
In the next chapter, you will learn to create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access