   how much difference is between OpenGl and DirectX ........
  what is the difference ......which one can be learned first.....can learning one be beneficial for learning the other...   
Quote:Original post by neerajshastrywhat is the difference ......which one can be learned first.....can learning one be beneficial for learning the other...Here, at the top of the page: Comparison of  DirectX and OpenGL.If you can't wait: They couldn't be any more different.   ;  Well, OpenGL is cross-platform compatible, but it may not work right on some computers. DirectX is only for windows, and should work the same on computers with a recent version.   ;Quote:Original post by wademcgillisWell, OpenGL is cross-platform compatible, but it may not work right on some computers. DirectX is only for windows, and should work the same on computers with a recent version.That somehow doesn't make sense.   ;  neerajshastry, do you ever google your questions before you ask them?  Because you should.  Always.   ;  There is very little difference for a beginner. Either can be learned first as all the principles cross over simply.Theres a lot more published reference on making games for begginers with Direct X (however most books are out of date) but both API's have a wealth of documentation on the net anyway. With DX your are limited to windows and Xbox whereas Opengl is multiplatform.The choice is pretty arbitrary when it comes down to it (for a beginners sake).-Si   ;  They are different of course, but at the same time they work kind of the same in some aspects. For example I'm using the same vertex buffer format for both DX and OpenGL, and same matrix class as well. You feed the data in a different way, but the actual data is the same. So learning one can indeed benefit for learning the other, what you learn about how 3D graphics work applies to any API.   ;  For starters, you can't compare DirectX to OpenGL, the proper comparison should be between Direct3D and OpenGL, and the short answer would be "They do the same thing but in a different way".   ;Quote:Original post by MikeTacularneerajshastry, do you ever google your questions before you ask them?  Because you should.  Always.Oh, lol. Tbh, I oversee such behaviour for ratings at first, anybody was a nubie once. But if I see that the person simply is not interested to learn something and still expects others to do his work, I feel an urge to press the rate-down button.   ;  The main thing is as wadem said that opengl is crossplatform, and direct3d is on windows. Language wise, opengl is statebased. Basically you turn features and so forth on. i havent touched direct3d yet, so i cant really say how it does things differently. I hope to try it out this fall, kind of see what I like. I do like how easy it is to get started (with visual studio), a bit less installing and configuring than opengl.   