Digital Paint Discussion Board
Digital Paint Community => Other Stuff => Topic started by: y00tz on September 13, 2007, 03:30:07 PM
-
My gl.h is from '96 (Version 1.1) and I'm a newb... I have no idea where to get legitimate ("official" ?) copies of the entire gl/* for Windows, can someone help me out?
I believe the current version is like 2.1 or something... I'm having a lot of code fail (i.e. SecondaryColor3f() requires 1.4+)
Thanks,
y00tz
-
I think KiLo can get you set up with the torrent for that .........
-
Heh. If I recall, it may be with the platform SDK or something. I don't know anymore :P
-
In the current way opengl is distributed, you are only given access to version 1.1 and then you have to(through a rather hacky method) get newer features by requesting them through function pointers directly from the hardware.
OpenGL 3.0 is supposed to change that though
So.. you can't get a newer gl.h, just live with it for now. Learn to use extentions.
-
In the current way opengl is distributed, you are only given access to version 1.1 and then you have to(through a rather hacky method) get newer features by requesting them through function pointers directly from the hardware.
OpenGL 3.0 is supposed to change that though
So.. you can't get a newer gl.h, just live with it for now. Learn to use extentions.
...
Anyway, I managed to get via the nVidia SDK, a copy of GL.H that has versions 1.1,1.2,1.3, and 1.4 included.
Thanks for the help though.
-
Oh I forgot. vista now offers support for calling of 1.4 functions without extentions. And khronos group has yet to release the OpenGL 3.0 sdk to do away with this idiocy of following what microsoft says should be supported
-
I think you can use something like glew (?) to automatically take care of the extensions for you.
-
glew is good, I prefer glee because you don't have to initialize it :P less work(even if it is just one line less)