In the previous chapter, you created a framework to render OpenGL in 3D. At the very end of that chapter, we added a block of code that rendered a cube. In this chapter, you will learn how to create 3D objects in Open GL, first using code, and then using a 3D modeling program. In this chapter, we will cover the following:
Graphics cards: 3D graphics cards are basically small computers that are optimized to render objects in 3D. We will take a quick look at how a graphics card does what it does best.
Vertices: 3D objects are drawn by plotting points and telling OpenGL to use these points to create an object that can be rendered on the screen.
Triangles: Triangles are used to create all 3D objects. You will learn about the relationship between vertices and triangles and how they are used to create simple objects.
Modeling: Once you understand how to create simple 3D objects using code, you will also understand that you are going to need a more effective tool if you...