Section 2.5. More Information


2.5. More Information

Chapter 2, "State Management and Drawing Geometric Objects," of OpenGL® Programming Guide is a much more comprehensive discussion of drawing and state control. It includes discussion of topics outside the scope of OpenGL® Distilled, such as line and point state, edge flags, interleaved vertex arrays, and mapping and unmapping buffer objects.

Appendix B, "State Variables," of OpenGL® Programming Guide and Chapter 6, "State and State Requests," of The OpenGL Graphics System contain thorough reference material on OpenGL state and state queries.

For detailed information regarding any of the vertex array commands discussed in this chapter (glVertexPointer(), glDrawRangeElements(), etc), see OpenGL® Reference Manual. (At this time this book went to press, the fifth edition of that book, which discusses buffer objects, was not yet available.)

The book's Web site contains example source code that demonstrates correct usage of the vertex array and buffer object features, as well as the use of several rendering features, such as polygon mode, depth test, and alpha test. Additional example code is available from the OpenGL Web site at http://www.opengl.org.




OpenGL Distilled
OpenGL Distilled
ISBN: 0321336798
EAN: 2147483647
Year: 2007
Pages: 123
Authors: Paul Martz

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net