PDA

View Full Version : Nvidia talks about the Cg shading language


Array
11-26-2002, 01:46 AM
http://www.cgshaders.org/articles/interview_davidkirk02.php

Q: Why didn't you just pick RenderMan? Or the Stanford Shading System? Why reinvent the wheel?

A: Though our main goal was to create a powerful, flexible and expressive high level language for programming GPUs, we also knew that we needed a language that could be easily adopted by developers and integrated into existing applications. Cg can be compiled offline to assembly shaders which, in turn, can be simply "dropped into" existing applications already supporting vertex/pixel shaders. Furthermore, Cg does not burden or restrict the application developer with any sort of complicated resource or scene graph management. As such, a game can incorporate Cg with little to no changes to its core rendering infrastructure. That said, the designers of the language took many lessons from the Stanford Shading Language and RenderMan and applied them when creating Cg.

CGTalk Moderation
01-13-2006, 10:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.