OpenGL Distilled

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 author 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 omissions. 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 U.S., please contact:

   International Sales

   international@pearsoned.com

Visit us on the Web: www.awprofessional.com

Library of Congress Cataloging-in-Publication Data

Martz, Paul.

 OpenGL distilled / Paul Martz.

   p. cm.

 Includes bibliographical references and index.

 ISBN 0-321-33679-8 (pbk. : alk. paper) 1. Computer graphics. 2. OpenGL. I. Title.

 T385.M3666 2006

 006.6'6dc22

                                  2005036423

Copyright © 2006 Pearson Education, Inc.

All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, write to:

   Pearson Education, Inc.

   Rights and Contracts Department

   75 Arlington Street, Suite 300

   Boston, MA 02116

   Fax (617) 848-7047

Text printed in the United States on recycled paper at Courier in Stoughton, Massachusetts. First printing, February 2006

Dedication

Computer graphics programming isn't much fun without good eyesight.

This book is dedicated to the doctors and researchers battling retinitis pigmentosa.

Категории