PDA

View Full Version : Why Nvidias new Cg language really scares me


SemiCycle
06-14-02, 09:16 PM
I've been thinking about the Cg language Nvidia pulled out the bag yesterday. I know it will have it's benifits, but this the quote from the ZDnet article that made me start this thread :

"The Cg Toolkit, which includes programming libraries and a compiler for writing specific instructions for Nvidia chips, is available now for developers to download. Seitz said Nvidia will make the basic Cg code available for other makers of graphics chips to write their own compilers."

Here is the complete areticle
http://zdnet.com.com/2100-1104-935626.html

I know it says that they will make the code available to other chip manufactures, but the first part of the quote above could be taken many ways.
--One way that scares me is that the libraries are will be so highly optimized for nvidia hardware that they may not even work, or if they do work, it may be at reduced performance levels on all other graphics chips except Nvidias.
--In the second sentence above, it says they will make the **BASIC** code available. It doesn't sound like they will be giving out the good stuff.
--There is another way to take the second sentence too. If ATI for example uses these libraries, it may take them 3-6 driver releases before the extra code really gives any type of boost in performance. Nvidia on the other hand created it, so they will always have the upper hand in optimizing the use of it.
--If this language really catches on, will Nvidia be too powerful? Will they be able to dictate what specs hardware manufactures have to put in their next chip if they want the boost that compiled Nvidia languge could give?
--And lastly, this seems like an atempt to bring back the API. That really wouldn't be good. Do you guys remeber how the 3dfx version of MechWarrior 2 looked compared to the other versions. We'll start seeing games boxes saying "Best Played with a GeForce4"

If you stop by to read the thread, please leave a comment. Hopefully, I'm just paranoid of Nvidia and none of this will come to pass.

theflyingrat
06-14-02, 09:43 PM
--And lastly, this seems like an atempt to bring back the API. That really wouldn't be good.

I assume what you meant was that it seems like an attempt to bring back the proprietary API (i.e. 3dfx Glide). DirectX and OpenGL are both APIs, too......just not proprietary to any one video manufacturer.

If you don't have APIs, you don't have games!

:eek:

Otherwise, I see no big deal here. It would take a LOT of pressure on software writers by Nvidia in order to make Cg really catch on....Glide did, but its stay was fairly brief, and most titles that used it would still work (nearly as well, in some cases) on OGL or DX. Another thing that you have to remember was that Cg could be a limitation on itself later down the line....yes, just like Glide did. Sure, Voodoo fans could play quickly while in Glide mode, but being limited to 16-bit color rendering really made a lot of stuff look comparatively poor next to more modern Nvidia and ATI chipsets rendering in OpenGL mode.

Besides, look at where Glide got 3dfx! :p

Avatar28
06-15-02, 10:10 AM
Well, if I'm understanding what CG does is basically it allows them to write the code at high level and CG will compile it into the instructions for OpenGL or DirectX.

I really don't see this as any worse than Intel or AMD having a version of C that optimizes software for their chips. Look at it this way. The chipmakers know their chips better than anyone else and should be best able to get every last bit of performance out of them.

SemiCycle
06-15-02, 12:22 PM
I think I found an article that explains alot of what my fears were. Man it's nice to see i'm not alone

SemiCycle
06-15-02, 12:23 PM
oops, forgot the link

http://www.theregister.co.uk/content/54/25732.html