Posted by AntiHalcyon on 04:41:00 06-15-2002
I don't know if any of you have heard yet, but the NVIDIA corporation is introducing a new language called ``Cg''. Cg is supposed to work with both the directx and opengl APIs to create 3d graphics very easily. Due to the fact it supports both directx and opengl you can port your apps to platforms like MacOS, Linux, and Windows. For more in depth info check out http://firingsquad.gamers.com/hardware/cg/default.asp or http://www.gamespydaily.com/news/fullstory.asp?id=3529
[addsig]
Posted by fsvara on 06:38:00 06-15-2002
Quote:
On 2002-06-15 04:41, AntiHalcyon wrote:
Due to the fact it supports both directx and opengl you can port your apps to platforms like MacOS, Linux, and Windows.
Well... not quite...
According to this
slashdot story, it's a langauge for "Pixel & Vertex Shading". I think this comment pretty much sums it up:
According to the web site, they are working to implement this on top of both OpenGL and DirectX. On linux and Mac as well.
Basically this is a wrapper for the assembly that you would have to write if you were going to write a shader program. It compiles a C-like (as in look a like ) language into either the DirectX shader program or the OpenGL shader program. So you'll need a compiler for each and every API that you want to support. Which means that you'll need a different compiler for OpenGL/Nvidia and OpenGL/ATI until they standardize it.
Posted by fsvara on 06:43:00 06-15-2002
sorry, i forgot a quote above and it sorta scandisked up the html. i also can't delte it anymore because the html for the delete buttons and stuff in the edit menu somehow ended up in the text box where you edit the text... wtf... looks like a strange phpbb bug.
well, here's the text again, correct, this time, i hope:
Quote:
On 2002-06-15 04:41, AntiHalcyon wrote:
Due to the fact it supports both directx and opengl you can port your apps to platforms like MacOS, Linux, and Windows.
Well... not quite...
According to this
slashdot story, it's a langauge for "Pixel & Vertex Shading". I think this comment pretty much sums it up:
According to the web site, they are working to implement this on top of both OpenGL and DirectX. On linux and Mac as well. Basically this is a wrapper for the assembly that you would have to write if you were going to write a shader program. It compiles a C-like (as in look a like ) language into either the DirectX shader program or the OpenGL shader program. So you'll need a compiler for each and every API that you want to support. Which means that you'll need a different compiler for OpenGL/Nvidia and OpenGL/ATI until they standardize it.
[ This Message was edited by: fsvara on 2002-06-15 06:43 ]
Posted by KaGez on 00:13:00 06-16-2002
but, it is a programming language for itself anyway. It's up to you if you program the pixel/ertex shader in asm yourself, or if you use that high-level language from nvidia. Anyways, it is a extension and programming language at the same time afaik
[addsig]