C/C++ Determining OpenGL Version & Upgrading w/ C++

  • Thread starter Thread starter Pauly Man
  • Start date Start date
  • Tags Tags
    C++
Click For Summary
The discussion centers on the challenges of using OpenGL with C++, particularly regarding multitexturing support. Users are advised to check their OpenGL version and update their drivers if necessary, as multitexturing requires the ARB_multitexture extension, which is supported in OpenGL 1.2 and later. The conversation highlights the importance of graphics card compatibility with hardware OpenGL acceleration and mentions that driver manufacturers can create drivers that support specific OpenGL extensions. It notes that OpenGL upgrades often incorporate ARB extensions into the core, but issues arise due to Microsoft's control over the opengl32.dll file, which limits updates beyond version 1.1. Overall, the discussion emphasizes the need for proper driver support to utilize advanced OpenGL features effectively.
Pauly Man
Messages
129
Reaction score
0
I am playing around with opengl using C++, and think it is awesome.

But I have a question. I was looking at a tutorial on multitexturing, and when I ran the program it told me that my version of opengl doesn't support it. How do I determine which version of opengl I have, and how do I go about getting a newer version?
 
Last edited by a moderator:
Technology news on Phys.org
Download new OpenGL drivers -- what OS are you using? Does your graphics card support hardware OpenGL acceleration?
 
PM me your email address and I'll send you a program that tells you everything about your opengl driver. The manufacturer can write a driver for your video card that supports certain opengl extensions. multi-texturing is made possible by ARB_multitexture extension. Look here for a list of extensions http://oss.sgi.com/projects/ogl-sample/registry/

Every now and then Opengl gets upgraded and basically they take a bunch of ARB extensions ( architecture review board extensions, these are the ones that almost every manufacturer's new cards will support ) and make them part of core opengl. If it weren't for SGI making a pact with the devil ( microsoft ) back in the day, driver manufacturers could simply make Opengl 1.2, 1.3, 1.4 whatever drivers and you would only have to use extensions for bleeding edge video card features ( multitexturing is part of the 1.2 core ). But that can't happen because MS is responsible for maintaining the opengl32.dll in your system folder and aparently its illegal for the video card driver writers to overwrite it and MS won't update it past version 1.1 so everything new since 1.1 has to be done with extension, which isn't bad at all compared to using DirectX.

-Grady
 
I just started using OpenGL as well, and I like it a lot. :)
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
3K
Replies
86
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
69
Views
10K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K