Chapter 11. Tessellators and Quadrics

Chapter Objectives

After reading this chapter, you’ll be able to do the following:

• Render concave filled polygons by first tessellating them into convex polygons, which can be rendered using standard OpenGL routines

• Use the OpenGL Utility Library to create quadrics objects to render and model the surfaces of spheres and cylinders, and to tessellate disks (circles) and partial disks (arcs)

Note

In OpenGL Version 3.1, some of the techniques and functions described in this chapter—particularly those relating to quadric objects—were likely affected by deprecation. While many of these features can be found in the GLU library, they rely on OpenGL functions that were removed.

The OpenGL Library ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.