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 5 of 5

Thread: confused pre-opengl beginner question: about OpenGl 2.x vs 4.x

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2013
    Posts
    3

    Question confused pre-opengl beginner question: about OpenGl 2.x vs 4.x

    I startet lerning DirectX and wasnīt sadisfied...
    So i wanted to switch to OpenGL.

    but there are two Questions that i canīt find an Answer for.
    1.) if i create a Programm that should have a wide target range, i would use DirectX 9. But on OpenGL, as far as i know, would that be OpenGL 2.x, but the context in writing changed a lot with 3.x... so, should i lern 2.x and start again lerning 3.x/4.x when i decide to write a program with a more modern look?
    Or is it possible to use OpenGL 4.3 and write a context that 2.x compatible?

    2.) On Windows XP DirectX is limited to version 9, but does this limitation is the same for Opengl?
    If the drivers and the Grafikcard are supporting OpenGL 3.x or 4.x, then it should be possible, or am I wrong?

    sorry for my bad english... i had an hard day reading... and english isīnt my natural language.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,117
    You should learn the newest version of OpenGL. You are unlikely to find a graphics card now that does not support 3.x; 4.0 is very common but 4.3 is not yet that common. OpenGL is not limited by the operating system (as it is cross-platform). It is limited by the graphics hardware and the driver installed.

  3. #3
    Member Regular Contributor
    Join Date
    Jun 2013
    Posts
    495
    Quote Originally Posted by Maleachi View Post
    2.) On Windows XP DirectX is limited to version 9, but does this limitation is the same for Opengl?
    No. The only limitation is what the hardware and driver support. E.g. the latest nVidia cards support OpenGL 4.3 on Windows XP, Vista, 7 and 8. AMD cards support OpenGL 4.2 on the same platforms.
    Eventually the vendors will stop shipping drivers for XP, but as long as the drivers exist, you can expect them to support the same version of OpenGL regardless of the OS version.

  4. #4
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,160
    Quote Originally Posted by Maleachi View Post
    if i create a Programm that should have a wide target range, i would use DirectX 9. But on OpenGL, as far as i know, would that be OpenGL 2.x, but the context in writing changed a lot with 3.x... so, should i lern 2.x and start again lerning 3.x/4.x when i decide to write a program with a more modern look?
    At the beginning we should define a wide range of hardware. If we assume NV HW, then all cards up to 7 years back in the past support OpenGL 3.3 (from NV80). Of course, with the drivers not older than few years. If we assume AMD HW, then all cards up to 6 years back in the past support OpenGL 3.3 (from R600). But if we assume Intel's HW, then the situation is much worse. The common denominator for the last 3 years HW is OpenGL 1.4! For example GMA 3150 in Atom D4xxx/D5xxx/N4xxx/N5xxx is such GPU.

    Quote Originally Posted by Maleachi View Post
    Or is it possible to use OpenGL 4.3 and write a context that 2.x compatible?
    You cannot use new features if the drivers/hardware don't support it.

    Quote Originally Posted by Maleachi View Post
    On Windows XP DirectX is limited to version 9, but does this limitation is the same for Opengl?
    If the drivers and the Grafikcard are supporting OpenGL 3.x or 4.x, then it should be possible, or am I wrong?
    As others have already said, on NV HW you can use OpenGL 4.3 if it is Fermi or newer, or 3.3 if it is 8xxx or newer (with most of the features from the newer versions as extensions). On AMD HD 7xxx or newer you can use OpenGL 4.2. On Intel HD2500/4000 or newer, you can use OpenGL 4.0 but only on Windows7/8 as far as I know.
    Last edited by Aleksandar; 07-14-2013 at 09:51 AM.

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2013
    Posts
    3
    Wow, thanks for the replies! Now i understanding it better.
    I will start with 3.3 and see what the future brings.

Posting Permissions

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