OpenGL 2.0 Dev Kit
I packaged up the code files I ended up needing from the SGI site and from the ATI SDK to get OpenGL 2.0 support in an application.
Get it here.
I don’t know if it will work on non-ATI cards. I think it will though since there really isnt’ too much that is ATI specific in there anymore; NVidia owners? Also I assume if ATI or SGI finds out about it they will make me take it down so get it while its hot (I didn’t bother to read the license agreements).
To use it simply extract to a directory where your OpenGL application is and include “GLextensions.h”. You will now be able to call all OpenGL 2.0 gl functions and all recent ARB, ATI, NV, EXT, etc extensions without worrying about all the crazy API binding and stuff. In your main function, call “initExtensions();” to initialize everything.
Note: This will work for both Windows and Linux, just make sure your installed driver supports OpenGL 2.0 by doing the following.
// Print OpenGL driver info
printf("GL_VENDOR: %s\n", glGetString(GL_VENDOR));
printf("GL_VERSION: %s\n", glGetString(GL_VERSION));
printf("GL_SL_VERSION: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
printf("GL_RENDERER: %s\n", glGetString(GL_RENDERER));
printf("GL_EXTENSIONS: %s\n", glGetString(GL_EXTENSIONS));
printf("\n\n");
Listing 1: GL Driver Info Collection
Good Luck, post questions here or email me.