Complex 3D Objects
In Chapter 4, we looked at creating and rendering simple objects consisting of only a few polygons. While this is enough to create our basic terrain and sky, it is not enough to create an entire game. The game engine must also support complex models made up of hundreds or even thousands of polygons. Microsoft has included a class called Mesh that supports the manipulation of such objects. This chapter introduces the Model class of the game engine that encapsulates the Mesh class for the engine.
Unable to display preview. Download preview PDF.