OpenGL
®
SUPERBIBLE
Fourth Edition
This page intentionally left blank
OpenGL
®
SUPERBIBLE
Fourth Edition
Richard S. Wright, Jr.
Benjamin Lipchak
Nicholas Haemel
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Capetown • Sydney • Tokyo • Singapore • Mexico City
Comprehensive Tutorial and Reference
Many of the designations used by manufacturers and sellers to distinguish their products
are claimed as trademarks. Where those designations appear in this book, and the
publisher was aware of a trademark claim, the designations have been printed with initial
capital letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no
expressed or implied warranty of any kind and assume no responsibility for errors or omis-
sions. No liability is assumed for incidental or consequential damages in connection with
or arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk
purchases or special sales, which may include electronic versions and/or custom covers
and content particular to your business, training goals, marketing focus, and branding
interests. For more information, please contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States please contact:
International Sales
international@pearsoned.com
Visit us on the Web: www.awprofessional.com
Library of Congress Cataloging-in-Publication Data:
Wright, Richard S., 1965-
OpenGL superbible : comprehensive tutorial and reference / Richard S. Wright, Jr.,
Benjamin Lipchak, Nicholas Haemel. — 4th ed.
p. cm.
Includes bibliographical references.
ISBN 0-321-49882-8 (pbk. : alk. paper) 1. Computer graphics. 2. OpenGL. I. Lipchak,
Benjamin. II. Haemel, Nicholas. III. Title.
T385.W728 2007
006.6'6—dc22
2007012602