CHAPTER 11
Lights, Camera, Action!
In Chapters 8 and 9, you learned how to manipulate 3D information and use OpenGL to display simple models. In this chapter we will cover how to work with images to create more visually appealing scenes. We will also discuss how to read a 3D model from a file, which is an important step in creating a polished game.
Working with Textures
In Chapter 9 you learned how to create a 3D model from shaded polygons, but in order to make an object look really convincing you need to use textures, which are images that have been stretched into the shape of a polygon. Vertices and polygons create the shape of a model, but ...
Get Beginning Python Games Development : With Pygame, Second 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.