OpenGL 1.4

Hi everybody!

I’ve buyed the new OpenGL redbook v1.4. There is a lot of good exemples in there but I cannot execute most of them because I don’t have v1.4 of opengl! I tried to find it out but it’s seem to be more complicated that I have expected!

Somebody can give me a cue for setting my computer to use every 1.4 opengl exemples of the red book?

thanks!!

This really depends on your graphics card and the drivers installed. Go to the website of your graphics card and get the latest drivers!

http://www.nvidia.com
http://www.ati.com

If you are using Windows, look into http://glew.sf.net (Windows doesn’t provide thte latest headers and such, although video drivers do.)

Thanks guys!!

I have downloaded the latest drivers for my graphics card. So now, my drivers is supposed to support openGL up to 1.5.

But still, the I cannot compile the redbook examples.

for examples, If I try to compile cubemap.c from the redbook,
I have:

GL_TEXTURE_CUBE_MAP_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT : undeclared identifier

and it continues!!So there must be something I’m doiing wrong!!

I use VStudio C++ 6

Thank for helping

There is two parts to openGL the video drivers, which only the user needs and the compiler librarys.

Because microsoft controls the library files for windows you can not get a library past 1.1, but luckly openGL has a work around for this.

Since the newest openGL video drivers are updated by the video card vender and not microsoft. They have the newer openGL function supported via the video drivers. You can access these functions in windows and linux through what is called extensions.

There is a link on the main page of this website for the extension headers and also a simple search will turn up how to use them.

Also I think Nvidia and ATI have SDK’s with the newest headers you can download them from there website.

Originally posted by MemLeak:
[b]Thanks guys!!

I have downloaded the latest drivers for my graphics card. So now, my drivers is supposed to support openGL up to 1.5.

But still, the I cannot compile the redbook examples.

for examples, If I try to compile cubemap.c from the redbook,
I have:

GL_TEXTURE_CUBE_MAP_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT : undeclared identifier
GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT : undeclared identifier

and it continues!!So there must be something I’m doiing wrong!!

I use VStudio C++ 6

Thank for helping[/b]

Thanks for the hint!!

I have made a research and I have found this article!

http://www.gamedev.net/reference/programming/features/oglext/

Now everything work!!