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):||11 June 2015|
|PDF File Size:||2.16 Mb|
|ePub File Size:||7.85 Mb|
|Price:||Free* [*Free Regsitration Required]|
This program demonstrates polygon offset to draw a shaded polygon and its wireframe counterpart without ugly visual artifacts “stitching”. This program demonstrates the use of the GL lighting model. The results in the feedback buffer are printed. This program texture maps a checkerboard image onto two rectangles. This program draws 5 red teapots, each at a different z distance from the eye, in different types of fog.
Within this mask, a different model a sphere is drawn in a different color. This demonstrates use of the glBitmap call. Then feedback mode is entered, and the same lines are drawn. In rendering mode, three overlapping rectangles are drawn. Two tesselated objects are drawn. This program demonstrates polygon glprogrammihg.
If the s key is pressed, a texture subimage is used to alter the original texture. When the left mouse button is pressed, selection mode is entered with the picking matrix. Drawing to the screen ceases.
Objects are drawn using a grey material characteristic. This program shows how to draw anti-aliased lines in color index mode.
The Red Book
After initialization, the program will be in ColorMaterial mode. The texture is rendered as stripes on the teapot.
Picking is demonstrated in this program. This program shows how to composite modeling transformations to draw translated and rotated hierarchical models. A single light source illuminates the object. Use the ‘t’ key to toggle the order glpdogramming drawing polygons. This program demonstrates polygon stippling. To see if any collisions occur, the four triangles are called.
Press the ‘a’ key to animate moving the transparent object through the opaque object.
This program renders a wireframe Bezier surface, using two-dimensional evaluators. This program demonstrates fog in color index mode. This program shows how to draw anti-aliased lines. Use the accumulation buffer to do full-scene antialiasing on a scene with perspective projection, using the special routines accFrustum and accPerspective.
OpenGL Redbook Samples
Four tessellated objects are drawn, each with very different contours. The light position is reset after the modeling transformation is called. Pressing the left mouse button chooses between 3 types of fog: A sphere is drawn using a grey material characteristic.
The scene is then redrawn with the light in a new position. This program demonstrates use of the accumulation buffer to create an out-of-focus depth-of-field effect. The characters are represented by display lists, which are given numbers which correspond to the ASCII values of ged characters. If running this program on OpenGL 1.