Sign in to follow this  

OpenGL or Direct3D

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

Well in my personal oppion nether if you are just starting out in game programing try out SDL and do something 2d based to start with.

After that ether is godo bolth have there pros and con's OpenGL seems easyer to learn and is not os dependant where as DirectX is windows dependant but is very powerful however some times you can get lost easly with its interfaces.

Ps Get yourself a directX or OpenGL book as online tutorials do not allways work properly or are not allways very in depth.

But as i sead start out with something simple like SDL its easy to understand mostly and it is a pritty good start.

Regards Jouei.

Share this post


Link to post
Share on other sites
Its human nature, when given two choices, to determine "which is better". But the answer really is, neither. As a beginner, you can do fine with both, and everyone's answer is going to be their personal preference, not what is actually best for you. Neither API is more beginner friendly or API oriented, in truth.

But based on your other questions, I do not think you are ready to handle either OpenGL or Direct3D API yet. Focus on learning a language now and getting computer science fundamentals down. Make your games very simple: text(console) based only.

Share this post


Link to post
Share on other sites
Either is fine once your ready, but the suggestion to start with a simpler library such as SFML or SDL first is generally a good one.

You should of course get a good grip of your language of choice before you add in the confusion of working with graphics as well.

Share this post


Link to post
Share on other sites
Quote:
Original post by oler1s
Its human nature, when given two choices, to determine "which is better". But the answer really is, neither. As a beginner, you can do fine with both, and everyone's answer is going to be their personal preference, not what is actually best for you. Neither API is more beginner friendly or API oriented, in truth.

But based on your other questions, I do not think you are ready to handle either OpenGL or Direct3D API yet. Focus on learning a language now and getting computer science fundamentals down. Make your games very simple: text(console) based only.


Thanks for the reply. I have created my fair share of text based games with python and I know a little of c++ but not enough to create anything cool. I am in a game project class and we are grouping up with others in the class and are creating our own game with a "Torque Game Engine". I keep hearing people telling me to learn a language and then learn OpenGL or Direct3D and you are will be on your way to being a game programmer. So I was just curious about what others thought about either OpenGL or Direct3D.

Thanks
Andrew

Share this post


Link to post
Share on other sites
Quote:
I have created my fair share of text based games with python and I know a little of c++
In your other question, you reveal that you do not know for loops. Given that they are an extremely basic construct, you haven't progressed very far. You need to learn significantly more before you start tackling projects that involve 3rd party APIs.

Quote:
I am in a game project class and we are grouping up with others in the class and are creating our own game with a "Torque Game Engine".
I think it's a good way to get into game programming. You can have fun, and force yourself to start thinking along the lines of development. Ultimately though, as others have told you, you will seriously have to sit down and learn programming and computer science. But if you're happy playing around with Torque or whatever right now, don't stop.

Quote:
So I was just curious about what others thought about either OpenGL or Direct3D.
Aside from technical details you would find in a Google search? It's a flamebait topic, as many "vs." type threads are. As with other flamebait topics, you'll just see a back and forth between personal opinions, and ultimately, you'll pick nothing useful out of it.

Share this post


Link to post
Share on other sites
Quote:
Original post by gan
an article at gamedev: Direct3D vs. OpenGL: Which API to Use When, Where, and Why .

Else, follow what oler1s suggested , there're tons of them discuss before.


One thing to note (quoted from article above):
Quote:

The structure of Direct3D, and DirectX in general, is hugely different from OpenGL. As time goes on however, DirectX is slowly becoming more and more like OpenGL.


If you program DirectX 8 and DirectX 10, then you will feel it.

Another thing to note (sad but I afraid is true, quoted from article above):
Quote:

OpenGL is popular among developers in many different industries. It provides a great deal of functionality, and has proven to be a stable API over the 10+ years of its existence. It was written about 10 years ago to provide functionality for the future as far as possible. Unfortunately, that future has come and gone.

Share this post


Link to post
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this