90 CHAPTER 3: Building a 3D World^
Figure 3-22. What does it take to get this?
And lastly, for extra credit, make it bounce like the cube.
Summary
In this chapter, we started by generating a 2D square, turned it into a 3D cube, and then
learned how to rotate and translate it. We also learned about the viewing frustum and
how it can be used to cull out objects and zoom in and out of our scene. Lastly, we
constructed a much more complicated object that will be the root of the solar-system
model. The next chapter will cover shading, lighting, and materials, and a second object
will be added.