OpenGL tutorials

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Bludklok
Chaos Rift Junior
Chaos Rift Junior
Posts: 241
Joined: Tue Apr 14, 2009 1:31 am
Current Project: EnigmaCore
Favorite Gaming Platforms: PC, N64, Playstation1, Playstation2
Programming Language of Choice: C++
Location: New Jersey
Contact:

OpenGL tutorials

Post 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.
Youtube
Website
Current project: Enigma Core
User avatar
Pennywise
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 55
Joined: Tue Sep 22, 2009 1:36 pm
Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
Programming Language of Choice: C, C++ and Java
Location: England

Re: OpenGL tutorials

Post by Pennywise »

I think you should learn all of them. You can never know too much OpenGL ;)
User avatar
Pennywise
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 55
Joined: Tue Sep 22, 2009 1:36 pm
Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
Programming Language of Choice: C, C++ and Java
Location: England

Re: OpenGL tutorials

Post 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:
User avatar
JaxDragon
Chaos Rift Junior
Chaos Rift Junior
Posts: 395
Joined: Mon Aug 04, 2008 2:03 pm
Current Project: Kanoba Engine
Favorite Gaming Platforms: PS3, PC
Programming Language of Choice: C++
Location: Northeast NC

Re: OpenGL tutorials

Post 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.
User avatar
Pennywise
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 55
Joined: Tue Sep 22, 2009 1:36 pm
Favorite Gaming Platforms: Megadrive(Genesis), Dreamcast, SNES, Nintendo 64
Programming Language of Choice: C, C++ and Java
Location: England

Re: OpenGL tutorials

Post 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.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: OpenGL tutorials

Post 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.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
zeid
Chaos Rift Junior
Chaos Rift Junior
Posts: 201
Joined: Fri Apr 24, 2009 11:58 pm

Re: OpenGL tutorials

Post 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.
Axolotl Pop!
Image
Or, try it for free.

For many more free games online visit www.sam-zeid.com
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: OpenGL tutorials

Post 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
Post Reply