SPECIAL OFFERS
Keep up with new releases and promotions. Sign up to hear from us.
Register your product to gain access to bonus material or receive a coupon.
OpenGL is a powerful software interface used to produce high-quality, computer- generated images and interactive applications using 2D and 3D objects and color bitmaps and images.
The OpenGL Programming Guide, Fourth Edition, provides definitive and comprehensive information on OpenGL and the OpenGL Utility Library. The previous edition covered OpenGL through version 1.2. This fourth edition of the best-selling guide describes all of the latest features of OpenGL versions 1.3 and 1.4, as well as the important OpenGL Architecture Review Board (ARB) extensions.
You will find clear explanations of OpenGL functionality and many basic computer graphics techniques, such as building and rendering 3D models; interactively viewing objects from different perspective points; and using shading, lighting, and texturing effects for greater realism. In addition, this book provides in-depth coverage of advanced techniques, including texture mapping, antialiasing, fog and atmospheric effects, NURBS, image processing, and more. The text also explores other key topics such as enhancing performance, OpenGL extensions, and cross-platform techniques.
This fourth edition has been extensively updated to include the newest features of OpenGL, versions 1.3 and 1.4, including:
Many new example programs have been incorporated as well.
Download the Sample
Chapter related to this title.
About This Guide.
What This Guide Contains.
What's New in This Edition.
What You Should Know Before Reading This Guide.
How to Obtain the Sample Code.
Nate Robins' OpenGL Tutors.
Errata.
Style Conventions.
What Is OpenGL?
A Smidgen of OpenGL Code.
OpenGL Command Syntax.
OpenGL as a State Machine.
OpenGL Rendering Pipeline.
OpenGL-Related Libraries.
Animation.
A Drawing Survival Kit.
Describing Points, Lines, and Polygons.
Basic State Management.
Displaying Points, Lines, and Polygons.
Normal Vectors.
Vertex Arrays.
Attribute Groups.
Some Hints for Building Polygonal Models of Surfaces.
Overview: The Camera Analogy.
Viewing and Modeling Transformations.
Projection Transformations.
Viewport Transformation.
Troubleshooting Transformations.
Manipulating the Matrix Stacks.
Additional Clipping Planes.
Examples of Composing Several Transformations.
Reversing or Mimicking Transformations.
Color Perception.
Computer Color.
Specifying a Color and a Shading Model.
A Hidden-Surface Removal Survival Kit.
Real-World and OpenGL Lighting.
A Simple Example: Rendering a Lit Sphere.
Creating Light Sources.
Selecting a Lighting Model.
Defining Material Properties.
The Mathematics of Lighting.
Lighting in Color-Index Mode.
Blending.
Antialiasing.
Fog.
Point Parameters.
Polygon Offset.
Why Use Display Lists?
An Example of Using a Display List.
Display List Design Philosophy.
Creating and Executing a Display List.
Executing Multiple Display Lists.
Managing State Variables with Display Lists.
Bitmaps and Fonts.
Images.
Imaging Pipeline.
Reading and Drawing Pixel Rectangles.
Tips for Improving Pixel Drawing Rates.
Imaging Subset.
An Overview and an Example.
Specifying the Texture.
Filtering.
Texture Objects.
Texture Functions.
Assigning Texture Coordinates.
Automatic Texture-Coordinate Generation.
Multitexturing.
Texture Combiner Functions.
Applying Secondary Color after Texturing.
The Texture Matrix Stack.
Depth Textures.
Buffers and Their Uses.
Testing and Operating on Fragments.
The Accumulation Buffer.
Polygon Tessellation.
Quadrics: Rendering Spheres, Cylinders, and Disks.
Prerequisites.
Evaluators.
The GLU NURBS Interface.
Selection.
Feedback.
Error Handling.
Which Version Am I Using?
Extensions to the Standard.
Cheesy Translucency.
An Easy Fade Effect.
Object Selection Using the Back Buffer.
Cheap Image Transformation.
Displaying Layers.
Antialiased Characters.
Drawing Round Points.
Interpolating Images.
Making Decals.
Drawing Filled, Concave Polygons Using the Stencil Buffer.
Finding Interference Regions.
Shadows.
Hidden-Line Removal.
Texture Mapping Applications.
Drawing Depth-Buffered Images.
Dirichlet Domains.
Life in the Stencil Buffer.
Alternative Uses for glDrawPixels() and glCopyPixels().
Overview.
Geometric Operations.
Pixel Operations.
Fragment Operations.
Odds and Ends.
The Query Commands.
OpenGL State Variables.
Accessing New OpenGL Functions.
GLX: OpenGL Extension for the X Window System.
AGL: OpenGL Extensions for the Apple Macintosh.
PGL: OpenGL Extension for IBM OS/2 Warp.
WGL: OpenGL Extension for Microsoft Windows 95/98/NT/ME/2000/XP.
Initializing and Creating a Window.
Handling Window and Input Events.
Loading the Color Map.
Initializing and Drawing Three-Dimensional Objects.
Managing a Background Process.
Running the Program.
Finding Normals for Analytic Surfaces.
Finding Normals from Polygonal Data.
Homogeneous Coordinates.
Transformation Matrices.
OpenGL Correctness Tips.
OpenGL Performance Tips.
GLX Tips.
Download the Index
file related to this title.