Metaprogramming GPUs with Sh

Paperback
from $0.00

Author: Stefanus Du Toit

ISBN-10: 1568812299

ISBN-13: 9781568812298

Category: 3D Computer Graphics

Shading, as part of the creation of realistic computer-generated images, is currently bringing major advances to computer graphics, with important practical applications in computer game design and animation. Shaders are a more sophisticated way of making 3D objects look more realistic. While most shaders are created using proprietary shading languages, Sh, a new open-source system, simplifies the shader programming process by making it part of the C++ language. This book introduces Sh and...

Search in google:

Shading, as part of the creation of realistic computer-generated images, is currently bringing major advances to computer graphics, with important practical applications in computer game design and animation. Shaders are a more sophisticated way of making 3D objects look more realistic. While most shaders are created using proprietary shading languages, Sh, a new open-source system, simplifies the shader programming process by making it part of the C++ language. This book introduces Sh and describes how to program a GPU using C++ to implement both basic and advanced shading techniques. Readers of this book will be able to start writing advanced, modular shaders using Sh within a day! Slashdot.org Provides a concise and well-written introduction to Sh. The book will definitely contribute to enlarging the currently relative small user base of Sh and hopefully help the library grow and get more refined in the near future. Everyone familiar with "regular" high-level shading languages, such as Cg or the OpenGL Shading Language, should take a look at this book to see a new and interesting way of programming GPUs that the aforementioned languages do not offer.

1Overview32Tuples, matrices, operators, and functions433Programs, parameters, and attributes634Arrays and textures895Streams and channels1196Reference overview1297Types1378Standard operators and functions1519Arrays, tables and textures17710Programs and streams18311Control constructs20912Backends21713Engineering overview22514Intermediate representation22915Streams and textures24116Optimization24917Backend261

\ Slashdot.orgProvides a concise and well-written introduction to Sh. The book will definitely contribute to enlarging the currently relative small user base of Sh and hopefully help the library grow and get more refined in the near future. Everyone familiar with "regular" high-level shading languages, such as Cg or the OpenGL Shading Language, should take a look at this book to see a new and interesting way of programming GPUs that the aforementioned languages do not offer.\ \