PDA

View Full Version : where do i get gl.h 2.0?



Louvie
03-22-2006, 09:36 AM
Hi! i am a fish.
would you like to help me please?

my video adapter chip is Radeon X550.It said it could support opengl 2.0. But i don't know where i can get gl.h 2.0.

by the way,does my video adaper support vertex program or fregment program? the vendor said yes,but i am not sure.

ok,thanks for your concernning.

trul
03-22-2006, 11:27 AM
I'm too want to know answer to this ....

Brian Lawson
03-22-2006, 11:52 AM
I was looking into this recently as well. What I read was that there are no 2.0 header or .dll files. You simply query for 2.0 features and functionality through the extension mechanism. I could be wrong though.

k_szczech
03-22-2006, 01:16 PM
Under Windows, you only have OpenGL 1.1 header and library. If you want more you must use extension mechanism.

I use glew for this (glew.sourceforge.net) - all I have to do is to include it in my project instead of opengl and call glewInit().

Louvie
03-22-2006, 11:27 PM
yeah,today I installed cg toolkit and tried to run a cg program and succeeded.

and then,i used glGetString(GL_VERSION ) to get the version of opengl.
it returned a string like that:"2.0.5279 WinXP RELEASE".

does it means my version is 2.0?i think so.

ZbuffeR
03-23-2006, 02:21 AM
yes.