Page 1 of 1

OpenGL tutorials

Posted: Tue Nov 03, 2009 3:46 pm
by Bludklok
I decided to leave Allegro and get into OpenGL. So far I've got it set up correctly (I think :roll: ) and I've been browsing google for OpenGL tutorials. I've found a decent amount of tutorials but I'd like to know if any of you have suggestions as to which site I should use to learn OGL. Or, if you think it would be better for me, persuade me into learning DirectX instead. ;)

Here are some of the sites that look pretty decent:

http://www.swiftless.com/tutorials/open ... ltuts.html (The source in every lesson has some errors I've noticed)
http://www.videotutorialsrock.com/index.php
http://nehe.gamedev.net/
http://xoax.net/comp/cpp/opengl/index.php (Xoax has a couple OGL videos)

Any suggestions would be great.

Re: OpenGL tutorials

Posted: Wed Nov 04, 2009 2:37 am
by Pennywise
I think you should learn all of them. You can never know too much OpenGL ;)

Re: OpenGL tutorials

Posted: Wed Nov 04, 2009 11:19 am
by Pennywise
A few sites I found while researching DirectX tutorials:

http://www.directxtutorial.com/

http://www.two-kings.de/tutorials/dxgraphics/

http://www.chadvernon.com/blog/tutorials/directx9/

I would go with DirectX. It's more game creation oriented than OpenGL. But OpenGL is more portable. :nono:

Re: OpenGL tutorials

Posted: Wed Nov 04, 2009 4:04 pm
by JaxDragon
Pennywise wrote: I would go with DirectX. It's more game creation oriented than OpenGL.
Not trying to start an argument, but how is that statement true? DirectX is a tad more widely used, doesn't mean it's more game development oriented.

Back on topic, nehe's tutorials confused me a little, and videotutorialsrock kinda failed at teaching me how to set up OGL, but they're all good sites & tutorials.

Re: OpenGL tutorials

Posted: Wed Nov 04, 2009 4:31 pm
by Pennywise
JaxDragon wrote:
Pennywise wrote: I would go with DirectX. It's more game creation oriented than OpenGL.
Not trying to start an argument, but how is that statement true? DirectX is a tad more widely used, doesn't mean it's more game development oriented.
Sorry, I didn't say it correctly. I meant OpenGL was mostly just a graphics API, and DirectX is more a game development API. Correct me if I'm wrong.

Re: OpenGL tutorials

Posted: Thu Nov 05, 2009 5:06 pm
by dandymcgee
Pennywise wrote:
JaxDragon wrote:
Pennywise wrote: I would go with DirectX. It's more game creation oriented than OpenGL.
Not trying to start an argument, but how is that statement true? DirectX is a tad more widely used, doesn't mean it's more game development oriented.
Sorry, I didn't say it correctly. I meant OpenGL was mostly just a graphics API, and DirectX is more a game development API. Correct me if I'm wrong.
It's not that it's specifically for game development as much as it supports everything you would need for a game engine in a single package (input, sound, graphics), whereas OpenGL is specifically a 3D graphics API similar to Direct3D, the graphics subset of DirectX.

Re: OpenGL tutorials

Posted: Thu Nov 05, 2009 7:37 pm
by zeid
Well I think NeHe and VTR are about the best tutorial sites regarding openGL I have ever come across.
NeHe uses some deprecated things from older versions of openGL due to the age of the tutorials, mostly "glaux.h".

If you are having trouble getting started with openGL I can't reccommend learning directX, openGL has alot of easier to use features then directX for beginners such as the GLBegin(...); GLEnd(); functions for quick drawing (I've heard these are to be deprecated in the future). However openGL starts looking more like directX code when you start programming at a more advanced level, using vertex buffers and such. I'm not going to say one is better then the other as that just seems plain ignorant seeing as I don't know directX well enough to comment on it.

Re: OpenGL tutorials

Posted: Sun Nov 08, 2009 8:20 pm
by GroundUpEngine
Here's a couple ;)

http://www.morrowland.com/apron/article/gl/ - Nice 3D tutorials and concepts
http://www.lighthouse3d.com/opengl/glut - Good site to learn about OpenGL and Shaders