Page 1 of 1

OpenGL question

Posted: Mon Aug 30, 2010 11:11 pm
by Randi
What would you recommend using with OpenGL?
All the books I can find use glut with OpenGL, but I already have knowledge with SDL, do you know of any books that use SDL with OpenGL? Is glut better to use with OpenGL?

Re: OpenGL question

Posted: Mon Aug 30, 2010 11:28 pm
by Ginto8
You have quite a few options. glut isn't necessarily your best bet. SDL and SFML are both good choices, and there are plenty of tutorials/documentation on the web. Or, you could take the more difficult route and use glx (on *nix), wgl (on windows), or cgl (on mac osx), but each of those are very platform-dependent and often rather difficult.

Re: OpenGL question

Posted: Tue Aug 31, 2010 2:44 am
by Milch
I personally dont like GLUT because you give away too much.
I even read somewhere that it is hardly used in actual games rather than in techdemos - but thats just my 2 cents.

And, in all honesty, OpenGL is a lot more complex than lets say SDL/SFML and you can make much more things wrong.
So you should take your time to learn how OpenGL works.

I have a book called "Beginning OpenGL Game Programming II" - it explains the basic stuff for OpenGL - only drawback is that the book only explains how to setup OpenGL on Windows ( so the whole native stuff on how to do that ) - but this doesnt matter if you're using SDL/SFML for setting OGL up.

Re: OpenGL question

Posted: Tue Aug 31, 2010 4:40 pm
by eatcomics
I have the same book. Honestly I didn't read it as much as I should have, it wasn't the best OGL book out there in my opinion, but I guess its alright.

Re: OpenGL question

Posted: Fri Sep 03, 2010 1:13 am
by TheBuzzSaw
Image
Never use GLUT in an actual game project!

Re: OpenGL question

Posted: Fri Sep 03, 2010 5:27 am
by GroundUpEngine
TheBuzzSaw wrote:Image
Never use GLUT in an actual game project!
haha :lol:

Re: OpenGL question

Posted: Fri Sep 03, 2010 2:59 pm
by MrDeathNote
TheBuzzSaw wrote:Image
Never use GLUT in an actual game project!
ROFL Godot ftw!!