Split from http://forums.dolphin-emu.org/showthread...#pid136153 coz the op doesn't want valid discussion in his topic.
Your reasoning for GLSL lacks basis, for starters CG is an extensible shading language that is not proprietarily closed at all, the basic language comes as is and you can do what you like to extend its functionality, and implement as you see fit.
It is not locked to nvidia hardware, and is closer to HLSL than it is GLSL, making it more natural for native Dx developers to work with (to a point.)
Further, CG is not locked to x86, it is implemented on ARM devices and Cell BE as well.
(01-28-2011, 11:00 PM)Winter Knight Wrote: The advantages of open source over closed source is not an appropriate topic for this thread. I started this thread in the Code Patches forum for the purpose of sharing my progress on a GLSL video plugin for Dolphin, and for soliciting help. Since open source vs closed source and GLSL vs CG isn't even really specific to dolphin, I believe a more appropriate forum would be Delphino Plaza.
Your reasoning for GLSL lacks basis, for starters CG is an extensible shading language that is not proprietarily closed at all, the basic language comes as is and you can do what you like to extend its functionality, and implement as you see fit.
Quote:Is Cg Proprietary?
The Cg Language Specification is published and open in the sense that other vendors may implement products based on it.
It is not locked to nvidia hardware, and is closer to HLSL than it is GLSL, making it more natural for native Dx developers to work with (to a point.)
Quote:Does Cg replace OpenGL or Direct3D?
Cg layers on top of OpenGL, DirectX 9, 10 or 11.
The Cg compiler outputs assembly, GLSL or HLSL code in various formats supported by OpenGL or DirectX.
Further, CG is not locked to x86, it is implemented on ARM devices and Cell BE as well.