OpenGL A Primer

  • ISBN13:


  • ISBN10:


  • Edition: 3rd
  • Format: Paperback
  • Copyright: 2007-04-25
  • Publisher: Pearson
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $46.20 Save up to $36.31
  • Buy New
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The eBook copy of this book is not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


OpenGL reg; : A Primeris a concise presentation of fundamental OpenGL, providing readers with a succinct introduction to essential OpenGL commands as well as detailed listings of OpenGL functions and parameters. Angel uses a top-down philosophy to teach computer graphics based on the idea that readers learn modern computer graphics best if they can start programming significant applications as soon as possible. Introduction, Two-Dimensional Programming in OpenGL, Interaction and Animation, Basic Three-Dimensional Programming, Transformations, Lights and Materials, Images, Texture Mapping, Curves and Surfaces, Putting It Together, Looking to the Future. For all readers interested in OpenGL.

Author Biography

Edward S. Angel is a Professor of Computer Science, Electrical and Computer Engineering, and Media Arts at the University of New Mexico. He received his PhD from the University of Southern California and his BS in engineering from the California Institute of Technology. His present research interests are in computer graphics and scientific visualization. He is also the author of the best-selling book, Interactive Computer Graphics: A Top-Down Approach Using OpenGL, Third Edition, also published by Addison-Wesley.

Professor Angel is the Principal Investigator of the NSF-funded Digital Pueblo Project, which is combining arts and technology to promote economic development among the communities in New Mexico through collaborative graphics and animation projects.

Table of Contents

The OpenGL API
What's in OpenGL
OpenGL Versions of Extensions
Programming Conventions
Who Should Use this Primer
Two-Dimensional Programming in OpenGL
A Simple Program
Event Loops and Callback Functions
Drawing a Rectangle
Changing the GLUT Defaults
Color in OpenGL
Coordinate System Differences Between Gand OpenGL
Two-Dimensional Viewing
The Viewport
Coordinate Systems and Transformations
Simple C, Second Version
Primitives and Attributes
Polygon Types
Color Interpolation
Inquires and Errors
Saving the State
Interaction and Animation
The Reshape Callback
The Idle Callback
A Rotating Square
Double Buffering
Using the Keyboard
Using the Mouse Callback
Mouse Motion
The NULL Callback
Sub and Multiple Windows
Example: single_double.c
Display Lists
Picking and Selection Mode
Basic Three-Dimensional Programming
Cameras and Objects
Orthographic Projects in OpenGL
Viewing a Cube
Locating the Camera
Building Objects
Hidden Surface Removal
GLU and GLUT Objects
Perspective Projects
Line-Preserving Transformations
Homogeneous Coordinates
The Model-View and Projection Transformations
A Rotating Cube
Setting Matrices Directly
Transformations and Coordinate Systems
Modeling with Transformations
Lights and Materials
Light/Material Interactions
The Phong Model
OpenGL Lighting
Specifying a Light Source
Specifying a Material
Shading the Rotating Cube
Controlling the Lighting Calculation
Smooth Shading
Working with Normals
Pixels and Bitmaps
Drawing Modes
Reading and Writing Pixels
Selecting Buffers
Pixel Store Modes
Displaying a PPM Image
Using Luminance
Pixel Mapping
Pixel Zoom
Image Processing in OpenGL
Texture Mapping
What is a Texture Map? Constructing a Texture Map
Texture Coordinates
Texture Parameters
A Rotating Cube with Texture
Applying Textures to Surfaces
Borders and Sizing
Automatic Texture Coordinate Generation
Texture Maps for Image Manipulation
Curves and Surfaces
Parametric Curves
Parametric Surfaces
BFzier Curves and Surfaces
One-Dimensional OpenGL Evaluators
Two-Dimensional Evaluators
An Interactive Example
Other Types of Cures
The Utah Teapot
Normals and Shading
Interpreting Surfaces
Putting It Together
A Demo Program
Other OpenGL Features
Writing Portable, Efficient, Robust Code
Looking to the Future
Versions and Extensions
OPenGL Extensions
Going Beyond Real-Time Graphics
Programmable Pipelines
Shading Languages
Table of Contents provided by Publisher. All Rights Reserved.

Rewards Program

Write a Review