Computer Graphics Programming in OpenGL with C++ (Computer Science)

V. Scott Gordon, John L. Clevenger



This book provides step-by-step instruction on modern 3D graphics shader programming in C++ and OpenGL. It is appropriate for computer science undergraduate graphics programming courses and for professionals who are interested in mastering 3D graphics skills. It has been designed in a 4-color, “teach-yourself” format with numerous examples that the reader can run just as presented. The book is unique in its heavy emphasis on student learning, making the complex topic of shader programming as accessible as possible. Includes companion files with source code and images.


• Covers OpenGL 4.0+ shader programming using C++, using Windows or Mac.

• Includes companion files with code, models, textures, images from the book, and more.

• Illustrates every technique with complete running code examples. Everything needed to install and run every example is provided and fully explained.

• Includes step-by-step instruction for every GLSL programmable pipeline stage (vertex, tessellation, geometry, and fragment) -- with examples.

• Explains how to install and use essential OpenGL libraries such as GLEW, GLFW, glm, and others, for both Windows and Mac.




• 使用C++和Windows或Mac,涵蓋OpenGL 4.0+着色器編程。

• 附帶代碼、模型、紋理、書中圖像等配套文件。

• 用完整的運行代碼示例演示每一個技術。提供了安裝和運行每個示例所需的一切,並進行了詳細解釋。

• 包括每個GLSL可編程管道階段(頂點、曲面細分、幾何和片段)的逐步指導,並提供了示例。

• 解釋了如何安裝和使用必要的OpenGL庫,如GLEW、GLFW、glm等,適用於Windows和Mac。