I decided to leave Allegro and get into OpenGL. So far I've got it set up correctly (I think ) 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:
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.
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!
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.