Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Stealth2000

Easier to start with: OpenGL or DirectX?

This topic is 5886 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

I DON''T want to start out a flame war on which is BETTER... but I would like to get people''s opinions on which is EASIER to learn for someone just starting out in game programming. My background: I''m fairly familiar with C/C++ and object oriented programming. I know other languages such as Java, Perl, etc.

Share this post


Link to post
Share on other sites
Advertisement
learn whichever.

but first....

do a seach on forums for this topic. it''s been discussed a billion times before.

-me

Share this post


Link to post
Share on other sites
Simple.

Go to NeHe and look at his tutorials. Play around, modify some things here and there, see if you like the coding style.

Get the DXSDK, look at the tutorials. They cover initialization, colored triangle, transformations, lighting, and mesh loading. Play with these ones. Alternatively, there are tutorials at www.andypike.com.

Stick with whichever tutorials are easier to follow.

Share this post


Link to post
Share on other sites
Hey,

OpenGL would have to be the easier I would suggest. The main reason is that when you FIRST begin you can simply call built-in functions to do things like create windows and keyboard/mouse handlers. This way you don''t have to start worrying about all the message handling to get some basic graphics up on the screen.

Apart from this though both are very similar and it is purely your own preference. Have a look at some examples of bigger programs and see which style of code you prefer. I personally steer clear of as much COM as I can, and DirectX is full of it!!!

Doolwind

Share this post


Link to post
Share on other sites
I will give you my standard "its not the API" answer. The hard part of 3D programming is learning all the details of the rendering pipeline and the attendant math. If you can master that, learning either API is simple in comparision. If you know one you can learn the other in a weekend.

Share this post


Link to post
Share on other sites
Just read The Article and make up your own mind. These weekly OpenGL vs. DirectX threads are a waste of bandwidth.

BTW: Easier is a just a subset of Better, you''ll still get heavily opinionate responses.

quote:
From the For Beginner Faq
For starters you DO NOT post questions like this (which has been done to death) and expect to get any kind of advice that is going to sway you one way over the other. Would you go to your local Super Mall and ask on a loud speaker what type of person you should date? Second only to prOn there is no other waste of bandwidth than these types of threads. What ever you do, nothing good can come from ??? vs ??? threads. period.


Share this post


Link to post
Share on other sites

This topic is 5886 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.

Guest
This topic is now closed to further replies.

  • 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!