Chapter 1. Introduction
This chapter has the following four sections:
“What Is Cg?” introduces the Cg programming language.
“Vertices, Fragments, and the Graphics Pipeline” describes the data flow of modern graphics hardware and explains how Cg fits into this data flow.
“Cg’s Historical Development” provides some background on how Cg was developed.
“The Cg Environment” explains how applications go about using Cg programs through the Cg runtime and existing 3D application programming interfaces (APIs).
What Is Cg?
This book teaches you how to use a programming language called Cg. The Cg language makes it possible for you to control the shape, appearance, and motion of objects drawn using programmable graphics hardware. It marries programmatic control ...
Get The Cg Tutorial: The Definitive Guide to Programmable Real-Time Graphics now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.