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):||19 April 2017|
|PDF File Size:||20.67 Mb|
|ePub File Size:||14.64 Mb|
|Price:||Free* [*Free Regsitration Required]|
This is a simple, introductory OpenGL program. First, four triangles and a rectangular box representing a viewing volume are drawn drawScene routine. Pressing the ‘e’ key changes the coordinate generation to eye coordinates of the vertex.
This program demonstrates using mipmaps for texture maps. When the left mouse button is pressed, selection mode is entered with the picking matrix. A diamond in the center of the window masks out part of the scene.
First, a lighting environment is set up and a few lines are drawn. Two tesselated objects are drawn. This program shows how to draw anti-aliased lines in color index mode. After initialization, the program will be in ColorMaterial mode. The texture is rendered as stripes on the teapot. Objects are drawn using a grey material characteristic.
Rectangles which are drawn under the cursor position are “picked. Note that the cylinder has no top or bottom and the circle has a hole in it. This program texture maps a checkerboard image onto two rectangles.
This program demonstrates use of OpenGL feedback. Use the ‘t’ key to toggle the order of drawing polygons. The scene is then redrawn with the light in a glproyramming position. Then feedback mode is entered, and the same lines are drawn. Use the accumulation buffer to do full-scene antialiasing on a scene with perspective projection, using the special routines accFrustum and accPerspective.
This program renders a lighted, filled Bezier surface, using two-dimensional evaluators. In this case, the gold teapot remains in focus. Drawing to the screen ceases. If running this program on OpenGL 1. Then the selection mode is entered selectObjects routine.
The light position is reset after the modeling transformation is called. This program draws a texture mapped teapot with automatically generated texture coordinates. This program demonstrates the winding rule polygon tessellation property.
This program demonstrates the use of the OpenGL lighting model. Glprograming the ‘s’ and ‘S’ keys switch the wrapping between clamping and repeating for the s parameter. When the w key is pressed, the objects are drawn with a different winding rule. 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. Use of glCallLists is demonstrated. Press the ‘r’ key to re the scene.
A single light source illuminates the objects. Several objects are drawn using different material characteristics. This program draws several overlapping filled polygons to demonstrate the effect order has on alpha blending results. This program draws two rotated tori in a window.
This program demonstrates the use of the GL lighting model. In this example, the green triangle causes one hit with the name 1, and the yellow triangles cause one hit with the name 3.
This program demonstrates some characters of a stroke vector font. A sphere is drawn using a grey material characteristic.
This program demonstrates how to intermix opaque and alpha blended polygons in the same scene, by using glDepthMask. Use of multiple names and picking are demonstrated.
Red Book – Wikipedia
This is a simple double buffered glprogramminh. This program demonstrates the creation of a display list. This program uses evaluators to generate a curved surface and automatically generated texture coordinates.
This program demonstrates ref tessellation. This program demonstrates fog in color index mode. This is an illustration of the selection mode and name stack, which detects whether objects which collide with a viewing volume. A single light source illuminates the object. Note the exterior rectangle is drawn with its vertices in counter-clockwise order, but its interior clockwise.
It draws two diagonal lines to form an X; when ‘r’ is typed in the window, the lines are rotated in opposite directions.
OpenGL Programming Guide : Table of Contents
The second is a smooth shaded, self-intersecting star. If you press the ‘r’ key, the original image and zoom factors are reset. This program draws 5 red teapots, each at a different z distance from the eye, in different types of fog.