

Because of its popularity and clean design, C provided the basis for several subsequent programming languages. Cg was developed in close collaboration with Microsoft Corporation and is compatible with both the OpenGL API and Microsoft's High-Level Shading Language (HLSL) for DirectX 9.0.Ĭg stands for "C for graphics." The C programming language is a popular, general-purpose language invented in the 1970s. 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, Macintosh OS X, and console platforms such as the Xbox. Never before have computer graphics practitioners, whether artists or programmers, had so much control over the real-time images they generate.Ĭg provides developers with a complete programming platform that is easy to use and enables the fast creation of special effects and real-time cinematic-quality experiences on multiple platforms. It marries programmatic control of these attributes with the incredible speed and capabilities of today's graphics processors. The Cg language makes it possible for you to control the shape, appearance, and motion of objects drawn using programmable graphics hardware.
#CORE ANIMATOR 1.1.1 DOWNLOAD FREE HOW TO#
This book teaches you how to use a programming language called Cg.


This chapter has the following four sections: Please visit our Recent Documents page to see all the latest whitepapers and conference presentations that can help you with your projects.Ĭhapter 1. You can purchase a beautifully printed version of this book, and others in the series, at a 30% discount courtesy of InformIT and Addison-Wesley. The Cg Tutorial The Cg Tutorial is now available, right here, online.
