Hello, I manually installed the ATI Catalyst 9.7 driver in ubuntu 8.04. I bought the Opengl Red book Seventh edition (OpenGL 3.0 and 3.1 version book).
Now i want to start programming with the 3.x version but:
dani@Zeus:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 2.1.8787
Well why in OpenGLg version string is 2.1? ATI catalyst 9.7 should support opengl 3.0 version, isn’t it?
I am new to this linux world but what i have to do to change it to 3.x version?
Thank you for helping me and sorry for my english ^^U.
Thanks for your reply but this only makes me more confused now :o
I always used the GL/gl.h header file to program OGL 2.1 apps.
Now, which header should i have to use? And the main question… new functions will run in my Graphics card?
I ask this because in:
dani@Zeus:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 2.1.8787
fglrxinfo does not show anything above OpenGL 2.1.
Don’t worry about fglrxinfo.
The driver supports OpenGL 3.0 (and beta OpenGL 3.1). You have to make an OpenGL 3.x context like martinsm said (just use the same headers you always do).
I’m not sure about SDL and Freeglut. I think you have to write your own code for creating an OpenGL window that has OpenGL 3.x support (see link provided by martinsm). Perhaps SDL/freeglut has support for OpenGL 3.x already, but I don’t think so.
For SDL to create GL3 context, you need to be using SDL 1.3 version that can be obtained from SVN sources. 1.2 version doesn’t know how to create GL3 context.
Freeglut afaik also needs to be compiled from latest SVN sources to get GL3 support.
Both of them has example programs for GL3 context creation and usage.
Whouhou! It built! I updated my DX SDK to the lastest version and it works.
How do you create an OpenGL 3 context with SDL? It is automatique or there is something to do?