Jump to content

  • Log In with Google      Sign In   
  • Create Account


Which opengl toolkit should i use


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   -  Reputation: 103

Like
0Likes
Like

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



Sponsor:

#2 __SKYe   Members   -  Reputation: 946

Like
0Likes
Like

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   -  Reputation: 142

Like
0Likes
Like

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   -  Reputation: 1387

Like
0Likes
Like

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.

 

http://www.opengl-tutorial.org/

 

http://www.arcsynthesis.org/gltut/index.html

 

http://openglbook.com/the-book/preface-what-is-opengl/

 

and an upcoming book you may want to buy

http://www.amazon.com/gp/product/0321773039/ref=as_li_ss_il?ie=UTF8&camp=1789&creative=390957&creativeASIN=0321773039&linkCode=as2&tag=gamer2creator-20


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

http://www.youtube.com/watch?v=Wo60USYV9Ik

 

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

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

SFML2.1 Tutorials http://www.sfml-dev.org/tutorials/2.1/

 

// SFML 2 book

http://www.amazon.com/gp/product/1849696845/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=1849696845&linkCode=as2&tag=gamer2creator-20

 


#5 PurpleAmethyst   Members   -  Reputation: 305

Like
0Likes
Like

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.



PARTNERS