What openGL library to use?
I'm looking into switching over from Java+LWJGL to C++. Most of the books I have all say to use GLUT, but it seems horribly out of date. I found this page:
http://www.opengl.org/resources/libraries/windowtoolkits/
but am trying to figure out which one is most current and most complete for an openGL implementation.
Any recommendations? I need whichever one I choose to be Windows/Mac/Linux compatible.
GLUT is for educational purposes only. You are wise to avoid it.
I recommend SDL.
http://www.libsdl.org/
SDL is great at more than just opening up OpenGL; it handles device input, loads images for use as OpenGL textures, etc.
I recommend SDL.
http://www.libsdl.org/
SDL is great at more than just opening up OpenGL; it handles device input, loads images for use as OpenGL textures, etc.
SDL is a little dated, SFML is a good replacement which adds a bit more value with FX type framework and shader wrappers etc.
http://www.sfml-dev.org/
http://www.sfml-dev.org/
Oh wow! SFML looks really nice! Thanks!
Have you been using it for a while? Any good/bad experiences you'd like to share?
Have you been using it for a while? Any good/bad experiences you'd like to share?
GLUT is dead
FreeGLUT, however, is not. Additionally, unless I am wrong, its the only window manager to support cross platform GL 3+ contexts. SDL 1.3 says it can do that, but its not released yet. (also, its not BSD, its LGPL, which means dynamic linking only)
FreeGLUT, however, is not. Additionally, unless I am wrong, its the only window manager to support cross platform GL 3+ contexts. SDL 1.3 says it can do that, but its not released yet. (also, its not BSD, its LGPL, which means dynamic linking only)
Last time I was looking I stumbled upon this question on stackoverflow and found the listing to be quite comprehensive. I'd also say SFML or SDL are the most promising options.
I also found Visualization Library a little while ago and it looks pretty neat. It might not be what you're looking for though, as it wraps the OpenGL API. I'm wondering if anyone here has toyed around with it...
Edit: Oh, and there is also gloot by TTK-Bandit, I'm not sure if he's still working on it though.
I also found Visualization Library a little while ago and it looks pretty neat. It might not be what you're looking for though, as it wraps the OpenGL API. I'm wondering if anyone here has toyed around with it...
Edit: Oh, and there is also gloot by TTK-Bandit, I'm not sure if he's still working on it though.
And one shouldn't forget the GL 3.0 capable development branch of GLFW, available from their SVN server.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement