Treffer: M.J.: Cg: a system for programming graphics hardware in a C-like language

Title:
M.J.: Cg: a system for programming graphics hardware in a C-like language
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publisher Information:
ACM SIGGRAPH, ACM Press
Publication Year:
2003
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.7F8A71F4
Database:
BASE

Weitere Informationen

The latest real-time graphics architectures include programmable floating-point vertex and fragment processors, with support for data-dependent control flow in the vertex processor. We present a programming language and a supporting system that are designed for programming these stream processors. The language follows the philosophy of C, in that it is a hardware-oriented, generalpurpose language, rather than an application-specific shading language. The language includes a variety of facilities designed to support the key architectural features of programmable graphics processors, and is designed to support multiple generations of graphics architectures with different levels of functionality. The system supports both of the major 3D graphics APIs: OpenGL and Direct3D. This paper identifies many of the choices that we faced as we designed the system, and explains why we made the decisions that we did.