Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: OpenGL 4.3 supported video cards

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    10

    OpenGL 4.3 supported video cards

    I pre-ordered the 8th edition of the Red Book and will be learning OpenGL 4.3 from it soon. However, I read on Wikipedia that the supported video cards for OpenGL 4.3 is GeForce 400 series at the minimum. Does this mean that I will need one of the supported video cards to do simple tasks in OpenGL 4.3 such as drawing a cube, or will I only be restricted to certain features without one of the supported cards? If so what features?

  2. #2
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,264
    In your code, try making a GL 4.3 context. If it fails, try a lower version. Whatever version you get, that is what your driver supports.
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  3. #3
    Intern Newbie
    Join Date
    Nov 2002
    Posts
    37
    Run GPU Caps Viewer. It will show you the OpenGL supported version and all the extensions available.
    http://www.geeks3d.com/20120927/gpu-...17-2-released/

    This is for Windows only.There's surely a similar app for Linux,but
    I'm not a user.
    Last edited by Claude; 03-12-2013 at 10:37 PM.

  4. #4
    Junior Member Regular Contributor
    Join Date
    Dec 2009
    Posts
    198
    Quote Originally Posted by V-man View Post
    In your code, try making a GL 4.3 context. If it fails, try a lower version. Whatever version you get, that is what your driver supports.
    You only need to create a 1.1 context to get the max. supported compatibility version and a 3.1 context to get the max. supported core version via the GL_VERSION string. As you need the 1.1 context anyway to get the function pointers to create the 3.1 context, that's basically the optimal sequence to create any core profile.

  5. #5
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,077
    Quote Originally Posted by Darius View Post
    Does this mean that I will need one of the supported video cards to do simple tasks in OpenGL 4.3 such as drawing a cube, or will I only be restricted to certain features without one of the supported cards? If so what features?
    You will certainly be restricted if the card and the driver are not GL 4.3 compliant, but the greater problem will be following the examples in the book if they use GL 4.3 exclusive features. With what GPU are you trying to learn GL 4.3?

  6. #6
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    10
    I'm actually using the graphics chipset on my motherboard, which worked fine when programming GL 2.x. I'm planning on getting a new PC soon, just wondering where I stand. Just out of curiosity, do we still use glut in GL 4.3? I guess the .dll and .lib files will be different in GL 4.3, so will my code that I wrote with GL 2.x still compile with GL 4.3?

  7. #7
    Junior Member Regular Contributor
    Join Date
    Dec 2009
    Posts
    198
    Quote Originally Posted by Darius View Post
    I'm actually using the graphics chipset on my motherboard, which worked fine when programming GL 2.x. I'm planning on getting a new PC soon, just wondering where I stand. Just out of curiosity, do we still use glut in GL 4.3? I guess the .dll and .lib files will be different in GL 4.3, so will my code that I wrote with GL 2.x still compile with GL 4.3?
    Most OpenGL versions are upward compatible, the only GL version which removed some APIs was the Version 3.1. However in Version 3.2 the ARB defined the concept of GL "profiles" and defined the "core" and "compatibility" profiles. The core profile is upward compatible from 3.1, and the compatibility profile is upward compatible all the way from OpenGL 1.1.

    But the compatibility profile is not required for OpenGL compilance, so the driver writers may chose to provide only the core profile in which case your 2.1 programs may not work. However on the Desktop both nVidia and AMD support the compatibility profile, so your old OpenGL programs should work.

  8. #8
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    However on the Desktop
    On non-OSX Desktop. On MacOSX, you have to pick between 2.1 and 3.2 core.

  9. #9
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    10
    Thank you all for your insights.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •