OpenGL SuperBible: Comprehensive Tutorial and Reference, 6/e (Paperback)

Graham Sellers, Richard S Wright Jr., Nicholas Haemel



OpenGL® SuperBible, Sixth Edition, is the definitive programmer’s guide, tutorial, and reference for the world’s leading 3D API for real-time computer graphics, OpenGL 4.3. The best all-around introduction to OpenGL for developers at all levels of experience, it clearly explains both the newest API and indispensable related concepts. You’ll find up-to-date, hands-on guidance for all facets of modern OpenGL development on both desktop and mobile platforms, including transformations, texture mapping, shaders, buffers, geometry management, and much more.


Extensively revised, this edition presents many new OpenGL 4.3 features, including compute shaders, texture views, indirect draws, and enhanced API debugging. It has been reorganized to focus more tightly on the API, to cover the entire pipeline earlier, and to help you thoroughly understand the interactions between OpenGL and graphics hardware.


Coverage includes

  • A practical introduction to the essentials of realtime 3D graphics
  • Core OpenGL 4.3 techniques for rendering, transformations, and texturing
  • Foundational math for creating interesting 3D graphics with OpenGL
  • Writing your own shaders, with examples to get you started
  • Cross-platform OpenGL, including essential platform-specific API initialization material for Linux, OS X, and Windows
  • Vertex processing, drawing commands, primitive processing, fragments, and framebuffers
  • Using compute shaders to harness today’s graphics cards for more than graphics
  • Monitoring and controlling the OpenGL graphics pipeline
  • Advanced rendering: light simulation, artistic and non-photo-realistic rendering, and deferred shading
  • Modern OpenGL debugging and performance optimization

Bonus material and sample code are available from the companion Web site,


《OpenGL® SuperBible, 第六版》是世界領先的即時電腦圖形3D API OpenGL 4.3 的程序員指南、教程和參考書。這是一本適合各級開發者的OpenGL綜合介紹,清晰解釋了最新的API和不可或缺的相關概念。無論是桌面還是移動平台上的現代OpenGL開發,包括變換、紋理映射、着色器、緩衝區、幾何管理等,都提供最新的實用指導。

這版書進行了大幅修訂,介紹了許多OpenGL 4.3的新功能,包括計算着色器、紋理視圖、間接繪製和增強的API調試。它重新組織了內容,更加聚焦於API,更早地涵蓋了整個流程,幫助您全面理解OpenGL和圖形硬件之間的交互作用。

- 實時3D圖形基礎的實用介紹
- 渲染、變換和紋理的核心OpenGL 4.3技術
- 使用OpenGL創建有趣的3D圖形的基礎數學
- 編寫自己的着色器,並提供示例供您入門
- 跨平台的OpenGL,包括Linux、OS X和Windows的必要特定平台API初始化材料
- 頂點處理、繪製命令、基本處理、片段和幀緩衝區
- 使用計算着色器利用當今的圖形卡進行非圖形計算
- 監控和控制OpenGL圖形流水線
- 高級渲染:光線模擬、藝術和非真實感渲染以及延遲着色
- 現代OpenGL調試和性能優化