pascal said:
Well Democoder you can be technically right about TECHNICALL aspects but If I were ATI&others I would never use a Cg compiler when:
-Cg is a proprietary trademark
-The Cg language evolution is controlled by the oponent
3DLabs is contributing to the OpenGL 2.0 specs. They are not the owners of OGL trademark and dont control the OGL evolution.
Fact #1: We don't know whether the Cg "language" will be controlled by NVidia, or will be controlled by Microsoft DX9 HLSL spec. NVidia has not announced their intentions in this regard, all they have done is release a tool.
Fact #2: Nvidia has submitted Cg as a proposal to ARB as well.
Fact #3: Not all the facts are in. Don't you think it is a bit premature to be basing all these wild political theories on a beta toolkit?
Question: Isn't it possible that Cg will in fact, be Nvidia's implementation of DX9 HLSL language?
Question#2: Isn't it further possible that Cg HLSL and 3Dlabs HLSL will be merged (the differences aren't that big, they both derive from C). Moreover, it is even possible that DX9 HLSL could be merged.
If we don't know how things will play out, why are so many people jumping down Nvidia's throat for releasing
a development tool that they have every right to release And that
Cg is not evil and there is no reason for all these rants
pascal said:
What do you want? A ATI newspress saying "ATI decided to use the Cg Language" ? ROTFLMAO
In the end (sometime down the road) probably some companies will have its set of tools for the M$ HLSL and OGL 2.0, and the discussion will be over
No, I want people to stop making wild accusations about how the sky is falling when it isn't. Or atleast if the sky is falling, provide the evidence. If Cg turns out to be something completely different from OGL HLSL and DX9 HLSL and no other vendors support it, who cares?
Either NVidia will make it really good at generating code for R300 and other cards (in which case, what's the problem?) or developers will
refuse to use it and it will
die in the market place
NVidia has market power, but they don't have the power to simply kill off 90% of the game developer's market, which incidently,
doesn't include DX8 capable hardware
The scenario people are constructing here is ludicrous:
NVidia's master plan to rule the world
Step 1: Release Cg, make it support all hardware
Step 2: Get all developers onboard and everyone is using it
Step 3: Modify Cg so that it only works with NV40, put R400 and everyone else at disadvantage
Step 4: Developers are locked in and have no choice to use Cg3.0 with NVidia NV40 extensions
Step 5: Consumers refuse to buy R400 because games run horribly slow on it due to usage of NVidia features
Step 6: NVidia wins
The fatal flaw in these theories is,
developers AREN'T LOCKED IN and
developers don't target bleeding edge API/hardware features
Furthermore, NVidia doesn't control the rendering layer: OpenGL/DirectX, they'd only control a compiler tool.
This is analogous to saying you'll put Intel and AMD out of business because you control the compiler. But you don't control the OS, and anyone can write another compiler for another language.
Programming languages are a DIME A DOZEN. There are thousands of them. No one has ever successfully controlled a market by owning the programming language because there are too many
substitute goods
All it would take to unlock a developer from Cg would be a tool that parsed Cg and serialized it back into whatever other shading language the wanted.
Far more control comes from hooking developers into an API, like OpenGl or DirectX. Hence, the Win32 monopoly. That's because it is hard to port code that aggressively uses one API into another efficiently. (e.g. turn Win32 MFC C++ code into Unix KDE code). But it is relatively easy to translate between Java and C# or C and PASCAL, etc.