May 12, 2019 posted by

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: Kazrabar Kazrashakar
Country: South Africa
Language: English (Spanish)
Genre: Life
Published (Last): 3 December 2004
Pages: 55
PDF File Size: 7.53 Mb
ePub File Size: 2.44 Mb
ISBN: 443-8-53037-297-2
Downloads: 16044
Price: Free* [*Free Regsitration Required]
Uploader: Kazrami

The OpenGL Programming Guide

Thus, the quadrilateral which is drawn is drawn with several different colors. In this program, there is a fixed density value, as well as fixed start and end values for the linear fog.

This program demonstrates some characters of a stroke vector font. It draws two diagonal lines to form an X; when ‘r’ is typed in the window, the lines are rotated in opposite directions. Note the combineCallback is needed for the self-intersecting star. The scene is then redrawn with the light in a new position. A sphere is drawn using a grey material characteristic.

This program renders a lighted, filled Bezier surface, using two-dimensional evaluators. The glprogrammming are drawn several times into the accumulation buffer. To overtly show the effect of mipmaps, each mipmap reduction level has a solidly colored, contrasting texture image. A 3×3 grid of squares is drawn.


Three cones are drawn at different z values in a linear fog. The texture is rendered as stripes on the teapot. When the left mouse button is pressed, all squares under the cursor position have their color changed.

Pressing the ‘o’ key switches it back to the object coordinates. In this case, the gold glprograkming remains in focus.

The Red Book

This program renders a wireframe Bezier surface, using two-dimensional evaluators. Four tessellated objects are drawn, each with very different contours. When the w key is pressed, the objects are drawn with a different winding rule. This program clamps the texture, if the texture coordinates fall outside 0. This program shows how to composite modeling transformations to draw translated and rotated models.

This program shows how to composite modeling transformations to draw translated and rotated hierarchical models. Then the selection mode is entered selectObjects routine. The light position 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.

OpenGL Redbook Samples

This is a simple, introductory OpenGL program. Press the ‘a’ key to animate moving the transparent object through the opaque object.

This program demonstrates vertex arrays. This program demonstrates using glBindTexture by creating and managing two textures. Quadric objects are created with some quadric properties and the callback routine to handle errors.


Note the exterior rectangle is drawn with its vertices in counter-clockwise order, but its interior clockwise. This program demonstrates use of the accumulation buffer to create an out-of-focus depth-of-field effect.

If the r key is pressed, the original texture is restored.

Production Guidelines

Book to the screen ceases. This program draws two rotated tori in a window. First, four triangles and a rectangular box representing a viewing volume are drawn drawScene routine. This program demonstrates polygon tessellation. The characters are represented by display lists, which are given numbers which correspond to the ASCII values of the characters. Use of glCallLists is demonstrated. This program draws a texture mapped teapot with automatically generated texture coordinates.

The second is a smooth shaded, self-intersecting star. This program demonstrates the creation of a display list. This program shows how to draw anti-aliased lines in color index mode.

The eye position does not change. This program demonstrates arbitrary clipping planes. If the s key is pressed, a texture subimage is used to alter the original texture. A diamond in the center of glprogrammingg window masks out part of the scene. When the left mouse button is pressed, selection mode is entered with the picking matrix.

After initialization, the program will be in ColorMaterial mode.