Back

The Cg Tutorial Book

 
 
Cg ("C" for graphics) provides developers with a complete programming environment that is easy to use and allows for the fast creation of special effects and real-time cinematic quality experiences on multiple platforms. By providing a new level of abstraction, Cg removes the need for developers to program directly to the graphics hardware assembly language, and thereby more easily target OpenGL®, DirectX®, Windows®, Linux, Mac OS X®, and console platforms. Cg was developed in close collaboration with Microsoft® Corporation and is compatible with both the OpenGL API and Microsoft’s HLSL for DirectX 9.0.

The Cg Tutorial explains how to implement both basic and advanced techniques for today’s programmable GPU architectures. Major topics covered include:

  • 3D transformations
  • Per-vertex and per-pixel lighting
  • Skinning and key-frame interpolation
  • Environment mapping
  • Bump-mapping
  • Fog
  • Performance optimization
  • Projective Texturing
  • Cartoon Shading
  • Compositing
Publication Information:
Publisher: Addison Wesley
ISBN 0321194969
Pub. Date: March 7, 2003
400 pages
Includes a CD-ROM


 
 
LinkedInTwitterGoogle+FacebookReddit