Jump to content

  • Log In with Google      Sign In   
  • Create Account

SDL vs GLUt vs GLFW vs Native


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
3 replies to this topic

#1 qwertyuiop23   Members   -  Reputation: 122

Like
0Likes
Like

Posted 17 April 2007 - 10:17 PM

Hi there, I am new to OpenGL. I know a little bit not much of C++ but not a lot of OpenGL but I want to program in it and I want to do it in DEV C++. From what I can gather and what I have experimented I found this information: Pros cons for each different way of doing it: GLUT: Pros Easy to learn Not a lot of coding to make things Cons Not very powerful Not a lot of game making functions GLFW: Pros Not as easy as glut but still easy Not a lot of code to make things Pretty versatile Cons Not a lot of help or tutorials SDL: Pros A lot of help Pretty powerful Not much about it with Dev C++ Cons A heck of a lot of coding for little progress Confusing coding Not already implemented with OpenGL (from what I can gather) Native OpenGL: Pros Lots of help Powerful Can do many things Cons Lots of coding Setting up lots of things to do one little thing OK that’s what I came up with. If you can help me out by deciding which one is the best all round and point me to some tutorials using DEV C++ in that OpenGL programming area I would be grateful Cheers QWERTYUIOP23

Sponsor:

#2 GamerSg   Members   -  Reputation: 378

Like
0Likes
Like

Posted 18 April 2007 - 01:06 AM

If you want to make your code cross-platform and dont want to rewrite things like creating the window/GL context/handle input/etc.. for every platform, native is out.

GLUT is pretty much dead as it has not been in active development for a long time.

The remaining 2 choices are both good, for me i went the GLFW way.

#3 tstrimple   Prime Members   -  Reputation: 1741

Like
0Likes
Like

Posted 18 April 2007 - 02:18 AM

I started with SDL and then moved to GLFW since I was only using the portions of SDL pertaining to opening a window and getting input and I didn't like how it did either. I'm quite happy with GLFW.

#4 Simian Man   Members   -  Reputation: 1010

Like
0Likes
Like

Posted 18 April 2007 - 02:36 AM

I agree that SDL and GLFW are far better than the other two options.

GLFW is more specifically geared for OpenGL development, so if it suits your needs, that's probably the better option.

SDL is more general, but has nice add-on libs for networking, loading many image formats, font rendering and more.




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