Jump to content
  • Advertisement
Sign in to follow this  
whowasthat

directx Vs OpenGL

This topic is 4930 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Oh no... you have broken the infamous, golden, triple reinforced with aluminum-copper, rule #8 (Read forum faq)

In a nutshell, though, if you plan to develop for windows, you can use either. If you plan to develop for other operating systems, you have no choice but OpenGL, since DirectX is windows-only.

There are other differences (or so I've heard), but I only know DirectX.

Share this post


Link to post
Share on other sites
SDL and Allegro are a few others. But I'm a DirectX fan so I stick with it. But I'm also an OpenGL fan so I use it too sometimes. I guess it boils down to what I want to playwith at the moment.

See, if you want to learn DirectX you also have to learn Win32. But you don't have to learn Win32 if you use OpenGL because you can use GLUT. Leaving you with more time to just code a game.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
There are many differences between how DirectX works and OpenGL works. Having programed in both, I consider the basics of OpenGL to be easier to learn. However, due to the extension system in OpenGL, I also found it more difficult to access its advanced features. DirectX, however, while a little more difficult to pick up, allowed ready access to advanced stuff. It also comes with a large number of tutorials for multiple languages, and a free library of all DirectX functions and structures in the documentation. So, if you want everything immediately and free, and are willing to spend the time to learn the basics (which means wading through the large amount of documentation), go DirectX. If you don't mind spending the money for a book or two, you can easily get the OpenGL libraries and good explanations on the basics, get started right away, then later learn the ins and outs of the extension system.

Share this post


Link to post
Share on other sites
DirectX is not equivalent to OpenGL, Direct3D is.
Other than that, take what v0dKA said, any further than that could initiate a flame war.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!