Dreadfully Ever After Sale

Recently Viewed clear list

Original Essays | September 18, 2014

Lin Enger: IMG Knowing vs. Knowing

On a hot July evening years ago, my Toyota Tercel overheated on a flat stretch of highway north of Cedar Rapids, Iowa. A steam geyser shot up from... Continue »

Qualifying orders ship free.
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
2 Remote Warehouse Graphics- General

More copies of this ISBN

This title in other editions

OpenGL: A Primer


OpenGL: A Primer Cover


Synopses & Reviews

Publisher Comments:

OpenGL®: A Primer is 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.


About the Author

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


1. Introduction.

The OpenGL API.

What's in OpenGL.

OpenGL Versions of Extensions.


Programming Conventions.



Who Should Use this Primer.


2. 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.

3. 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.

4. 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.

5. Transformations.

Line-Preserving Transformations.

Homogeneous Coordinates.

The Model-View and Projection Transformations.




A Rotating Cube.

Setting Matrices Directly.

Transformations and Coordinate Systems.

Modeling with Transformations.

6. 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.


7. Images.

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.

8. 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.

9. Curves and Surfaces.

Parametric Curves.

Parametric Surfaces.

Bézier 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.

10. Putting It Together.

A Demo Program.

Other OpenGL Features.


Writing Portable, Efficient, Robust Code.

11. Looking to the Future.

Versions and Extensions.

OPenGL Extensions.

Going Beyond Real-Time Graphics.

Programmable Pipelines.

Shading Languages.


Product Details

Angel, Edward
Addison Wesley Publishing Company
Computer graphics
Computer Graphics - General
Edition Description:
Trade paper
Publication Date:
April 2007
Grade Level:
College/higher education:
9.1 x 7.4 x 0.7 in 399 gr

Related Subjects

Computers and Internet » Graphics » General
Computers and Internet » Graphics » Programming
Computers and Internet » Software Engineering » Programming and Languages

OpenGL: A Primer New Trade Paper
0 stars - 0 reviews
$40.80 In Stock
Product details 304 pages Addison Wesley Publishing Company - English 9780321398116 Reviews:
  • back to top
Follow us on...

Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.