Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Which opengl toolkit should i use

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 liquidstone   Members   


Posted 20 February 2013 - 03:21 PM

I know that there are many questions like this, but i really want to learn opengl and im confused about all these toolkits glut, sdl ...

The question is which should i learn, and i will be happy if you post some tutorials about them. Also from which one of them i can make level editors, and stuff like that.

Im using ubuntu, linux

#2 __SKYe   Members   


Posted 20 February 2013 - 04:58 PM

OpenGL is just a graphics API.


GLUT is a window manager for OpenGL. It simplifies the process of creating an OpenGL window (or  more than one), and is also portable (platform independent). However it is quite old, and you should only use for learning, since it makes it easier to get to the part of drawing things on screen.

An alternative to GLUT is FreeGLUT, which i think is very similar, but more recent.


SDL provides more than just a window manager, it provides audio playback, input, font rendering, etc. I don't really use it, but i think it's quite nice if you are just starting.


There are others, like SFML, Allegro, etc.

I can't tell you much about these, because i have no experience on them, but i'm sure others can help you on that.


Also, just checking, but if you don't know a programming language yet, you may want tolearn one before attempting to learn OpenGL (again, just checking, and it never hurts to brush up the knowledge)


Hope it helps.

#3 Ussyless   Members   


Posted 20 February 2013 - 05:08 PM

i think alot of people use freeglut, from what i understand, glut support was cut  a while ago and doesnt support modern features, while freeglut has all the features of glut, and is still updated.


i'm not sure what this means feature-wise ( i did when i switched from glut to freeglut )


i don't have any experience with SDL, though i much prefer glut/freeglut over allegro, though i think allegro has more stuff for game making pre-made, like image loading/drawing and sound loading/drawing, not too sure though.

Edited by Ussyless, 20 February 2013 - 05:29 PM.

#4 EddieV223   Members   


Posted 21 February 2013 - 01:28 AM

From what I hear sdl is the most widely used.  I'm using freeGLUT right now it's pretty good, and lots of tutorials cover it.


SFML is object oriented which the others are not.  However its mostly meant to be a 2d platform and can get in the way if you wish to use it for a openGL window.


In order to get access to the openGL extensions use GLEW, its the most common, there are others like it but this one is what most the tuts use.


Also you will probably want a 3d math library glm will solve that problem for you.


Tutorials for modern openGL in order of my favs.








and an upcoming book you may want to buy


Edited by EddieV223, 21 February 2013 - 01:32 AM.

If this post or signature was helpful and/or constructive please give rep.


// C++ Video tutorials



// Easy to learn 2D Game Library c++

SFML2.2 Download http://www.sfml-dev.org/download.php

SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/


// Excellent 2d physics library Box2D



// SFML 2 book



#5 PurpleAmethyst   Members   


Posted 21 February 2013 - 10:01 AM

My current favorite for C/C++ coding is glfw (http://www.glfw.org/). It supports OpenGL > 3.0 out of the box without any complications, unlike SFML or SDL. 

I'm also planning on looking at this when I get a chance: http://oglplus.org/

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.