Jump to content
Sign in to follow this  
  • entries
    67
  • comments
    114
  • views
    34049

OpenGL doesn't require you to use extensions

Sign in to follow this  
baldurk

195 views

This is something I've seen in a few threads about OpenGL, especially when comparing it to D3D (I know, I know..). OpenGL doesn't require you to use extensions to access anything beyond 1.2. If you have a compliant 2.0 library plus header file then you can quite happily use any 2.0 function you like without having to use extensions, whether in GLee or not. The difficulty lies with windows, which doesn't provide access directly to 1.2+ functions. This is changing in vista to 1.5 I believe.

I'm saying this here because I don't like to start/get involved in flame wars, but it annoys the hell out of me when people suggest that OpenGL is flawed because of the extension mechanism, when in fact it's a great boon - it not only neatly solves the problem of MS's (understandable) lack of OpenGL support, but it also provides a nice way to test out bleeding-edge functions of your graphics card.

Now if you were to say something about the ARB being slow to bring extensions into the core, then you might have a point :).


btw, I'm still alive and working on my game. I'm definitely going to be entering something in 4e5, but I'm afraid that as it stands now it's a whole lot more sucky than I imagined it would be at this point.
Sign in to follow this  


4 Comments


Recommended Comments

Perhaps someone should write a guide to installing and using the GL 2.0 library and header files with various IDEs, because I had never even thought of this before. How's the backwards compatibility? Portability?

Also, thankfully the ARB is fuckin' gone. It's the Khronos Group now, which is a huge feather in their cap. And a boon for game developers of all stripes. It might also have some nice results for GDNet, if what I'm thinking is true.

Are you still working on that cool 3D RPG with the scripting language in the console (probably not)? I don't remember exactly what it was about, but I seem to remember your name was attached to it, and that at the time I thought the scripting language-in-the-console feature was the coolest damn thing ever. Of course, I've just now implemented scheme in the OS X version of Glow's console. [wink]

Share this comment


Link to comment
I'm not sure you can install 2.0 headers/libraries for windows, that's the problem. For linux it comes with nvidia drivers (no idea if ati provides them or not).

That was me, I've still got the code lying around here (although I've totally rewritten the scripting language since then, it now compiles down to bytecode if you precompile :D). I liked the scripting-in-a-console, because it meant I got all sorts of neat console syntax for free. Unfortunately the project that that was associated with is sort of dead (read: totally). However I have plans for writing some small but fun games once I'm done with my 4e5 entry, and I will be implementing cool features like that in them.

Share this comment


Link to comment
But when most people ask "OpenGL or DirectX" they usually mean on Windows because DX isn't on any other platform so they are right, OpenGL does require extensions (If your using Windows which (90% of people are).

Share this comment


Link to comment
Quote:
Original post by Ainokea
But when most people ask "OpenGL or DirectX" they usually mean on Windows because DX isn't on any other platform so they are right, OpenGL does require extensions (If your using Windows which (90% of people are).


Yeh, it is a problem that most people come up against, but it can't be said to be a disadvantage of OpenGL itself.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!