Nvidia has released a new programming language called Cg, the C for Graphics, which is supposed to facilitate and speed up the development of vertex and pixel shader effects for computer games.

Extract from Nvidia's announcement:

    Today's software applications are, by and large, developed with a programming language called "C" or "C++." However, when it comes to creating complex visual effects, developers have had to use a highly restrictive assembly language. The Cg programming language—"C" for graphics—gives developers a major leap forward in ease and speed of programming the special effects that enable real-time cinematic-quality graphics experiences on the desktop. Programs no longer need to be written directly to the graphics hardware, enabling rapid development of stunning, real-time shaders and visual effects for both DirectX® and OpenGL® environments.

The interesting part can be found in the Cg FAQ:

What platforms does NVIDIA’s Cg Compiler support?

    1. Windows (DirectX 8, DirectX 9, OpenGL)
    2. Linux (OpenGL)
    3. Mac OS X (OpenGL - ARB_vertex_program support, upon ARB ratification)
    4. Xbox (through offline compilation of DirectX 8 Vertex and Pixel Shaders)


Comments

"The Cg Language Specification is published and is open in the sense that other vendors may implement products based on it. To encourage this, an open-source implementation of a Cg compiler front-end is expected to be available by Siggraph ’02."

chris

Re: Perhaps just as intresting: posted by anonymous on Jun 16 2002 12:09 PM
I don't really believe nvidia, they've never done any open source stuff before. None of their drivers is open source. Gaming on LInux is dying anyway. :(

--chakie

Re: Perhaps just as intresting: posted by nilfilter on Jun 16 2002 6:16 PM
Infidel! Hang 'em higher :)

For years now I've seen Linux (and Linux gaming) dying 1000 deaths, as well as this pathetic hype that was made about it somewhat recently. I neither believe it is dying nor ascending to unprecedented heights. It's rather that it will remain some sort of a niche for some time to come.

Good games will always be available though.

it seems like there is already a version of cg for linux on nVidia's site: http://download.nvidia.com/developer/cg/Cg-1.00-1.i386.rpm however, i haven't had the chance of trying it out (the link might be broken). if someone knows an alternate, please tell me so i can download it.

Cosmin.

Re: already for linux? posted by anonymous on Jun 17 2002 11:33 AM
I've tried the Cg toolkit for Linux BETA. It works! The link was not broken when I downloaded it from NVIDIA's homepage...
Re: already for linux? posted by anonymous on Jul 12 2002 10:13 PM
I tried the next version number and that worked...

http://download.nvidia.com/developer/cg/Cg-1.01-1.i386.rpm

gave me a 1507163 byte file with md5sum 33b87d97e30b35632757da3d71a135f0

Log in or register to post a comment.