Red Book, Redbooks, Little Red Book or Big Red Book may refer to: Contents. 1 Political part of the Rainbow Series by the National Computer Security Center; The Red Book, alternate name for the 8th edition of the OpenGL Programming. Welcome to the website for the OpenGL Programming Guide (the “Red Book”). The latest release — the ninth edition — brings the most comprehensive. Today’s OpenGL software interface enables programmers to produce extraordinarily “The most recent Red Book parallels the grand tradition of OpenGL;.
|Published (Last):||6 April 2008|
|PDF File Size:||3.25 Mb|
|ePub File Size:||18.26 Mb|
|Price:||Free* [*Free Regsitration Required]|
Use of glCallLists is demonstrated.
Advanced rendering and later extensions are not covered in these examples. This program demonstrates using glBindTexture by creating and managing two textures.
This program demonstrates fog in color index mode. The results in the feedback buffer are printed. This program demonstrates lots of material properties.
The second is a smooth shaded, self-intersecting star. A sphere is drawn using a grey material characteristic.
Two tesselated objects are drawn. The viewing volume is jittered, except at the focal point, where the viewing volume is at the same position, each time. Drawing to the screen ceases. Glprpgramming the ‘o’ key switches it back to the object coordinates. Pressing the middle mouse button stops the rotation. This program demonstrates a single modeling transformation, glScalef and a single viewing transformation, gluLookAt.
The light glprobramming is reset after the modeling transformation is called.
This program demonstrates when to issue lighting and transformation commands to render a model with a light which is moved by a modeling transformation rotate or translate. Quadric objects are created with some quadric properties and the callback routine to handle errors.
The Red Book
This program draws a texture mapped teapot with automatically generated texture coordinates. First, a lighting environment is set up and a few lines are drawn. Rectangles which are drawn under the cursor position are “picked. This program draws several overlapping filled polygons to demonstrate the effect order has on alpha blending results.
Picking is demonstrated in this program.
Within this mask, a different glprogrammijg a sphere is drawn in a different color. A wireframe box is rendered. The texture is rendered as stripes on the teapot.
OpenGL Programming Guide : Table of Contents
Pressing the ‘s’ and ‘S’ keys switch the wrapping between clamping and repeating for the s parameter. This program demonstrates use of OpenGL feedback.
The scene is then redrawn with the light in a new position. This program draws 5 red teapots, each at a different z distance from the eye, in different types of fog. This program clamps the texture, if the texture coordinates fall outside 0. The eye position does not change. This is a simple, introductory OpenGL program.
Then feedback mode is entered, and the same lines are drawn. It draws two diagonal lines to form an X; when ‘r’ is typed in the window, the lines are rotated in opposite directions. This is a simple double buffered program. This program demonstrates the winding rule polygon tessellation property. Use the ‘t’ key to toggle the order of drawing polygons.
This program shows how to draw anti-aliased lines.
This program demonstrates how to make and execute a display list. This program demonstrates arbitrary clipping planes.