Jump to content
  • Advertisement

Archived

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

psjie

What's difference of direct x and openGL?

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

Hi, recently i want to develope a simple programme, i want to draw a 2d map and 3d object while 3d object moving on the 2d map. i have no experience of drawing this. this is my first time to touch about game programming and computer graphic. thanks for advice me what''s differnece of direct x and openGL? what''s the most efficient way to use which language to write this coding????? very thanks for return my post!!! have a nice day! Best Regards, from psjie

Share this post


Link to post
Share on other sites
Advertisement
DirectX is a set of game development APIs which cover sound, networking, input and 3D whereas OpenGL is a 3D API only. The second difference is that OpenGL is portable across many platforms whereas DirectX is for Windows only.

Share this post


Link to post
Share on other sites
Well, DirectX has that X, so it must be better. You know, unless it isn''t, in which case OpenGL would be better. But still, D and X are beside eachother on the keyboard, so it''s faster to type in theory. But DirectX only works on Windows, and OpenGL is practically everywhere. So I guess the answer to your question is pie.

Share this post


Link to post
Share on other sites
quote:
Original post by smart_idiot
Well, DirectX has that X, so it must be better. You know, unless it isn''t, in which case OpenGL would be better. But still, D and X are beside eachother on the keyboard, so it''s faster to type in theory. But DirectX only works on Windows, and OpenGL is practically everywhere. So I guess the answer to your question is pie.

Woah there! He asked about the differences, not which is better. Calm down fella!


pan narrans | My Website | Study + Hard Work + Loud Profanity = Good Code

Share this post


Link to post
Share on other sites
quote:
Original post by pan narrans
quote:
Original post by smart_idiot
Well, DirectX has that X, so it must be better. You know, unless it isn''t, in which case OpenGL would be better. But still, D and X are beside eachother on the keyboard, so it''s faster to type in theory. But DirectX only works on Windows, and OpenGL is practically everywhere. So I guess the answer to your question is pie.

Woah there! He asked about the differences, not which is better. Calm down fella!
I think smart_idiot wasn''t being serious.

Share this post


Link to post
Share on other sites
In my opinion, the main difference is that DirectX is easier to learn, and a bit more powerful, but OpenGL is supported on more O perating S ystems. If you aim more for Windows users, start with DirectX. Then, if you decide you need more OS support later, you could probably pick up some OpenGL, and the code may seem easier after learning one Graphics API (DirectX and OpenGL are A pplications P rogramming I nterfaces). You may not understand anything I said now, but good luck anyway!

EDIT:: Awww! They made my bold letters spaces away and it won't fix! No fair forum dev! You cheated this time!

[edited by - jtmerchant on March 18, 2004 9:21:09 AM]

Share this post


Link to post
Share on other sites
Which is easier to learn is subjective, you might think DX is easier, i thought OpenGL was easier.

DirectX is only more powerfull from the point of view that it has sound, network, input and 3d gfx under one name, if you compare OpenGL to Direct3D they are the same powerwise.

Like Promit, i''ve always liked that artical myself as well.

Share this post


Link to post
Share on other sites

This topic is 5232 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!