
^{®}
Programming Guide,
published by
Addison Wesley Professional;
ISBN 0201604582.
If you want to get all the source codes, please
download
them.
Since the following examples are run as Java Applications, you can only click
to view the source code of the example.
Polygon Stipple Patterns: polys
Enabling and Loading Vertex Arrays: varrays
Using Modeling Transformations: model
Wireframe Sphere with Two Clipping Planes: clip
Reversing the Geometric Processing Pipeline: unproject (no image)
(only for GLUT example)
Moving a Light with Modeling Transformations: movelight
Different Material Properties: material
Approximate Real Materials: teapots
Using glColorMaterial(): colromat
ThreeDimensional Blending: alpha3D
Antialiased Lines: aargb
Antialiasing in ColorIndex Mode: aaindex
Five Fogged Spheres in RGBA Mode: fog
Using Fog in ColorIndex Mode: fogindex
Polygon Offset to Eliminate Visual Artifacts: polyoff
Defining a Complete Font: font
Drawing, Copying, and Zooming Pixel Data: image
Pixel Replacement Using Color Tables: colortable
Using TwoDimensional Convolution Filters: convolution
Exchanging Color Components Using the Color Matrix: colormatrix
Compute and Diagram an Image's Histogram: histogram
Computing Minimum and Maximum Pixel Values: minmax
Demonstrating the Blend Equation Modes: blendeqn
Replacing a Texture Subimage: texsub
(only for GLUT example)
ThreeDimensional Texturing: texture3d
(only for GLUT example)
Binding Texture Objects: texbind
(only for GLUT example)
Automatic TextureCoordinate Generation: texgen
Routines for Jittering the Viewing Volume: accpersp
Scene Antialiasing: accpersp
Jittering with an Orthographic Projection: accanti
DepthofField Effect: dof
Lit, Shaded Bezier Surface Using a Mesh: bezmesh
Using Evaluators for Textures: texturesurf
The NURBS Tessellation Callbacks: surfpoints
Trimming a NURBS Surface: trim