I am looking for some vertex programs and pixelshaders tutorial, pls better for ATI
For the vertex program, the (last?) “ARB_vertex_program” is supported on the both video card (NVIDIA and ATI). So just take a look http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/Extensions/GL_ARB_vertex_progra m.html
Next, just take a look on this http://www.ati.com/developer/indexsc.html or http://www.gamedev.net/reference/programming/features/dx81shader1/
[This message has been edited by Leyder Dylan (edited 10-08-2003).]
Thank you very much, that is just what I need…
I heard Cg Toolkit is for both ATI and nVidia, can I use it for Radeon 9500?
Is it fully compatible?
Cg is a highlevel language which compiles on target-videocard on which you are running your app - the Cg-compiler compiles your Cg code down to hardware-specific code, which could be in your case ARB_v_p code, or DX HLSL code -> so: yes, you can use it on your AR9500 and yes, it is that what you call “fully compatible”.
Just this from www.cgshaders.org
Was Cg designed for NVIDIA chips only?
No. Cg was designed to simplify graphics programming, regardless of the hardware that it runs on. Cg allows graphics chip manufacturers to easily and effectively expose the capabilities of their hardware by writing their own Cg compilers. These manufacturers have a unique understanding of their products, and are therefore the most capable compiler writers for their particular hardware. Programs compiled with Cg run today on DirectX 8-compatible hardware, and on any other vendor’s implementation of OpenGL, if it supports the NV_vertex_program extension (ARB_vertex_program support is coming soon, since it was only recently approved by the ARB).
istn’t that a (more general) part of the same thing that i have told ???
(P.S.: but yes, mine was more technically; that’s right)
[This message has been edited by DJSnow (edited 10-09-2003).]
Thank you both, now I can start my project…