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: Jukora Kikazahn
Country: Namibia
Language: English (Spanish)
Genre: Art
Published (Last): 18 January 2013
Pages: 36
PDF File Size: 18.81 Mb
ePub File Size: 12.5 Mb
ISBN: 399-4-27437-744-5
Downloads: 50586
Price: Free* [*Free Regsitration Required]
Uploader: Merisar

This program demonstrates smooth shading. This program demonstrates fog in color index mode.

Red Book – Wikipedia

A sphere is drawn using a grey material characteristic. Objects are drawn using a grey material characteristic. The first is a rectangle with a triangular hole.

After initialization, the program will be in ColorMaterial mode. This program demonstrates the creation of a display list. First, a lighting environment is set up and a few lines are drawn. Use the ‘t’ key to toggle the order of drawing polygons.

Within this mask, a different model a sphere is drawn in a different color. This program demonstrates polygon tessellation. The second is a smooth shaded, self-intersecting star.

The OpenGL Programming Guide

The results in the feedback buffer are printed. Press the ‘r’ key to reset the scene. Three cones are drawn at different z values in a linear fog. Thus, the quadrilateral which is drawn is drawn with several different colors. Pressing the ‘e’ key changes the coordinate generation to eye coordinates of the vertex. The glprogrzmming and ‘T’ keys control the wrapping for the t parameter.


This program demonstrates using mipmaps for texture maps. This program uses evaluators to draw a Bezier curve.

A simple example of using accumulation buffer to anti-alias. First, four triangles and a rectangular box representing a viewing volume are drawn glpdogramming routine. This program shows how to composite modeling transformations to draw translated and rotated hierarchical models. Pressing the ‘o’ key switches it back to the object coordinates. The texture is rendered as stripes on the teapot.

The Red Book

This program draws several overlapping filled polygons to demonstrate the effect order has glpgogramming alpha blending results. This program demonstrates the use of the OpenGL lighting model. Pressing the left mouse button rotates the rectangle. This program draws a texture mapped teapot with automatically generated texture coordinates.

Advanced rendering and later extensions are not covered in these examples. Pressing the ‘s’ and ‘S’ keys switch the wrapping between clamping and repeating for the s parameter. Four tessellated objects are drawn, each with very different contours. This program draws two rotated tori in a window. This program clamps the texture, if the texture coordinates fall outside 0.


This program demonstrates rex of material properties. This program demonstrates a single modeling transformation, glScalef and a single viewing transformation, gluLookAt. If the s key is pressed, a texture subimage is used to alter the original texture. There is no attempt to prevent you from drawing over the original image. Then the selection mode is entered selectObjects routine.

Production Guidelines

The light position is reset after the modeling transformation is called. When the left mouse button is pressed, selection mode is entered with the picking matrix.

In this program, there is a fixed density value, as well as fixed start and end values for the linear fog. If you press the ‘r’ key, the original image and zoom factors are reset. A 3×3 grid of squares is drawn. Two tesselated objects are drawn.

When the left mouse button is pressed, all squares under the cursor position have their color changed.

The scene is then redrawn with the light in a new position. This program demonstrates the winding rule polygon tessellation property.

Author: admin