Game Development Community

ATI cards - vertex & fragment ext.

by Robin Princeley · in Technical Issues · 01/24/2003 (12:42 am) · 2 replies

I am adding vertex & fragment program support to the opengl headers / source. The folowing extensions have been added:

GL_ARB_vertex_program
GL_ARB_fragment_program

GL_NV_fragment_program
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_texture_shader
GL_NV_texture_shader2
GL_NV_texture_shader3
GL_NV_vertex_program

GL_ATI_fragment_shader

Are there any other that I must expose for ATI (don't have a card to test)?

#1
01/24/2003 (9:36 am)
Check out this page:
www.ati.com/developer/SimpleVertexShader.html

That is a good example of ATI shaders. The two include files: ATIExtentions.h and glati.h should be of interest to you.
#2
01/24/2003 (3:25 pm)
Currently it seems there is no common way to get fragment programs to work. The extension GL_ARB_fragment_program is not yet implemented by NVIDIA (GF3/4) and most of ATI's samples still use ATI_fragment_shader.

I've decided to stick with NVIDIA & Cg only for now. ATI has very few OpenGL samples ( <= 8XXX cards); RenderMonkey does not do OpenGL.

Vertex programs work on both using GL_ARB_vertex_program (Cg generated code).