Chapter 13. Selection and Feedback

Chapter Objectives

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

• Create applications that allow the user to select a region of the screen or pick an object drawn on the screen

• Use the OpenGL feedback mode to obtain the results of rendering calculations


In OpenGL Version 3.1, all of the techniques and functions described in this chapter were removed through deprecation. Even though some of this functionality is part of the GLU library, it relies on functionality that has been removed from the core OpenGL library

Some graphics applications simply draw static images of two- and three-dimensional objects. Other applications allow the user to identify objects on the screen ...

Get OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 3.0 and 3.1, Seventh 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.