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.