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

Author: Nikozuru Kazrajin
Country: Rwanda
Language: English (Spanish)
Genre: Medical
Published (Last): 3 April 2013
Pages: 459
PDF File Size: 2.83 Mb
ePub File Size: 16.12 Mb
ISBN: 247-5-18732-204-3
Downloads: 8945
Price: Free* [*Free Regsitration Required]
Uploader: Malale

This program demonstrates fog in color index mode.

To see if any collisions occur, the four triangles are called. First, a lighting environment is set up and a few lines are drawn. In this program, there is a fixed density value, as well as fixed start and end values for the linear fog. This is an illustration of the selection mode and name stack, which detects whether objects which collide with a viewing volume. A 3×3 grid of squares is drawn. Then feedback mode is entered, and the same lines are drawn.

Objects are drawn using a gprogramming material characteristic.

Use of glCallLists is demonstrated. If running this program on OpenGL 1. Within this mask, a gplrogramming model a sphere is drawn in a different color. Use the accumulation buffer to do full-scene antialiasing on a scene with perspective projection, using the special routines accFrustum and accPerspective.

  AASB 1031 PDF

This program demonstrates using glBindTexture by creating and managing two textures. Pressing the ‘s’ and ‘S’ keys switch the wrapping between clamping and repeating for the s parameter. Pressing the ‘o’ key switches it blprogramming to the object coordinates. A smooth shaded polygon is drawn in a 2-D projection. The first is a rectangle with a triangular hole. This program demonstrates how to intermix opaque and alpha blended polygons in the same scene, by using glDepthMask.

Press the ‘r’ key to reset the scene. A diamond in the center of the window masks out part of the scene.

Production Guidelines

This program demonstrates some characters of a stroke vector font. This program shows how to draw anti-aliased lines. Note the combineCallback is needed for the self-intersecting star. This program clamps the texture, if the texture coordinates fall outside 0.

If you press the ‘r’ key, the original image and zoom factors are reset. The scene is then redrawn with the light in a new glprogramjing. This program demonstrates using mipmaps for texture maps.

Draws the bitmapped letter F on the screen several times. This program demonstrates vertex arrays. This program shows how to draw anti-aliased lines in color index mode.

This program demonstrates a single modeling transformation, glScalef and a single viewing transformation, gluLookAt. Pressing the middle mouse button stops the rotation.

Program Guidelines & Policies – The Red Book

This program demonstrates smooth shading. First, four triangles and a rectangular box representing a viewing volume are drawn drawScene routine. This program demonstrates the creation of a display list. After initialization, the program will be in ColorMaterial mode. Thus, the quadrilateral which is drawn is drawn with several different colors.


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. To overtly show the effect of mipmaps, each mipmap reduction level has a solidly colored, contrasting texture image.

This program demonstrates how to make and execute a display list. The characters are represented by display lists, which are given numbers which correspond to the ASCII values of the characters.

A single light source illuminates the objects. This is a simple, introductory OpenGL program. Note the exterior rectangle is drawn with its vertices in counter-clockwise order, but its interior clockwise. When the left mouse button is pressed, all squares under the cursor position have their color changed. The green triangle and yellow triangles appear to lie within the viewing volume, but the red triangle appears to lie outside it.

Rectangles which are drawn under the cursor position are “picked. It draws two diagonal lines to form an X; when ‘r’ is typed in the window, the lines are rotated in opposite directions. In this case, the gold teapot remains in focus. A sphere is drawn using a grey material characteristic.