vp&fp interface

i have a question, maybe silly :stuck_out_tongue: what is the best, or suitable interface to write vp&fp for games? I recently start to study vp&fp, and i find there are serval ways to do it, ARB vp&fp extensions, cg, glsl…each uses some different GL function, i just don’t know where should I start. I am looking into ARB_vertex_program right now, and can’t find any demo with source to point the road.

can anyone shade me with some light?

i know it is not good cross posting this on both the beginner&advanced forum, i am sorry. I’ve been bothered by this problem for some time and getting a little frustrated:(

Originally posted by Nil_z:
[b].[…]I am looking into ARB_vertex_program right now, and can’t find any demo with source to point the road.

can anyone shade me with some light?

[/b]
here you can find lot of sources & tutorials.

http://mirror.ati.com/developer/indexsc.html
http://developer.nvidia.com/object/sdk_home.html
http://developer.3dlabs.com/openGL2/index.htm

Thanks AdrianD