OpenGL Shading Language, 3/e (Paperback)

Randi J. Rost, Bill Licea-Kane, Dan Ginsburg, John Kessenich, Barthold Lichtenbelt, Hugh Malan, Mike Weiblen

  • 出版商: Addison Wesley
  • 出版日期: 2009-07-01
  • 售價: $2,360
  • 貴賓價: 9.5$2,242
  • 語言: 英文
  • 頁數: 792
  • 裝訂: Paperback
  • ISBN: 0321637631
  • ISBN-13: 9780321637635
  • 相關分類: OpenGL
  • 立即出貨

買這商品的人也買了...

相關主題

商品描述

OpenGL® Shading Language, Third Edition, extensively updated for OpenGL 3.1, is the experienced application programmer’s guide to writing shaders. Part reference, part tutorial, this book thoroughly explains the shift from fixed-functionality graphics hardware to the new era of programmable graphics hardware and the additions to the OpenGL API that support this programmability. With OpenGL and shaders written in the OpenGL Shading Language, applications can perform better, achieving stunning graphics effects by using the capabilities of both the visual processing unit and the central processing unit.

 

In this book, you will find a detailed introduction to the OpenGL Shading Language (GLSL) and the new OpenGL function calls that support it. The text begins by describing the syntax and semantics of this high-level programming language. Once this foundation has been established, the book explores the creation and manipulation of shaders using new OpenGL function calls.

 

OpenGL® Shading Language, Third Edition, includes updated descriptions for the language and all the GLSL entry points added though OpenGL 3.1, as well as updated chapters that discuss transformations, lighting, shadows, and surface characteristics. The third edition also features shaders that have been updated to OpenGL Shading Language Version 1.40 and their underlying algorithms, including

 

  • Traditional OpenGL fixed functionality
  • Stored textures and procedural textures
  • Image-based lighting
  • Lighting with spherical harmonics
  • Ambient occlusion and shadow mapping
  • Volume shadows using deferred lighting
  • Ward’s BRDF model

 

The color plate section illustrates the power and sophistication of the OpenGL Shading Language. The API Function Reference at the end of the book is an excellent guide to the

API entry points that support the OpenGL Shading Language.

商品描述(中文翻譯)

《OpenGL® Shading Language, 第三版》是一本針對有經驗的應用程式開發者撰寫著色器的指南,並且在OpenGL 3.1的基礎上進行了大量更新。這本書既是參考資料,也是教程,詳細解釋了從固定功能圖形硬體轉向可編程圖形硬體的新時代以及OpenGL API的新增功能,以支援這種可編程性。使用OpenGL和OpenGL Shading Language中的著色器,應用程式可以更好地執行,通過利用視覺處理單元和中央處理單元的能力,實現令人驚嘆的圖形效果。

在這本書中,您將找到對OpenGL Shading Language(GLSL)和支援它的新OpenGL函數呼叫的詳細介紹。本書首先描述了這種高級程式語言的語法和語義。在建立了這個基礎之後,本書探討了使用新的OpenGL函數呼叫創建和操作著色器的方法。

《OpenGL® Shading Language, 第三版》包括了對語言和所有GLSL入口點的更新描述,這些入口點是通過OpenGL 3.1新增的,還包括更新的章節,討論了變換、照明、陰影和表面特性。第三版還提供了已更新到OpenGL Shading Language版本1.40及其底層算法的著色器,包括:

- 傳統OpenGL固定功能
- 存儲紋理和程序紋理
- 基於圖像的照明
- 使用球面調和進行照明
- 環境遮蔽和陰影映射
- 使用延遲照明進行體積陰影
- Ward的BRDF模型

彩色插圖部分展示了OpenGL Shading Language的強大和複雜性。書末的API函數參考是支援OpenGL Shading Language的API入口點的優秀指南。

最後瀏覽商品 (1)