OpenGL Super Bible! Page 295 Summary This chapter (Make my own web site)
OpenGL Super Bible! Page 295 Summary This chapter covers one of the most important features supported by a graphics package: color. You have seen how to specify a color in terms of its RGB components, and how these components relate to one another in the RGB color cube. Your understanding of glColor has been expanded to include the coloring of vertices, and you have seen how this affects shading. We explained OpenGL s selection of colors in 4-, 8-, 16-, and 24-bit Windows color modes. We demonstrated the building of a 3-3-2 palette for use by OpenGL in 8-bit color modes. Finally, we took a brief look at color index mode and its utilization to gain better palette control in 8-bit color modes. Good use of color and shading is a prerequisite for good 3D graphics. The upcoming chapter explains how OpenGL uses shading to produce lighting effects. You ll learn how to specify material colors and lighting conditions and allow OpenGL to select the drawing colors.
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.