• Advertisement

Archived

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

DirectX or OpenGL?

This topic is 5342 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, I was wondering which would be the better of the two. DirectX seems to be better, but OpenGL has more tutorials that I''ve found, so I''m tempted to just use that. Any help would be appreciated. -- M I S F I T S --

Share this post


Link to post
Share on other sites
Advertisement
Your question cannot be answered without human sacrifice. Please use the search and try again.

Share this post


Link to post
Share on other sites
Niether is better, they both have their own strengths and weaknesses. Do a little resaech on both and decide for yourself which is better. You can use opengl and directX together by the way.

Share this post


Link to post
Share on other sites
quote:
Original post by TheFiend
...DirectX seems to be better..


I'm curious as to what made you say that.

EDIT: Oh, probably the sound and input and other parts...

[edited by - cowsarenotevil on July 4, 2003 10:02:54 PM]

Share this post


Link to post
Share on other sites
quote:
Original post by cowsarenotevil
quote:
Original post by TheFiend
...DirectX seems to be better..


I'm curious as to what made you say that.

EDIT: Oh, probably the sound and input and other parts...

[edited by - cowsarenotevil on July 4, 2003 10:02:54 PM]


You could use DirectX for sound and input etc and Opengl for graphics if you prefer.



[edited by - Malodorous Skunk on July 4, 2003 10:04:28 PM]

Share this post


Link to post
Share on other sites
Well, can someone tell me the strong and weak points of both. This would help me out a lot.

Share this post


Link to post
Share on other sites
quote:
Original post by TheFiend
Well, can someone tell me the strong and weak points of both. This would help me out a lot.
Look.

And remember: Google is your friend.

[edited by - Hikeeba on July 4, 2003 11:45:55 PM]

Share this post


Link to post
Share on other sites
OpenGL...
If you have to learn only one API for graphics then this is OpenGL.
D3D is only for games. Yes it can be used for other things but it is not recommented!
OpenGL: cross-platform, no bugs, faster than D3D, simpler etc...

Share this post


Link to post
Share on other sites
quote:

Oh, and is there something to initialize DX, like GLUT does for OpenGL?



You can use Allegro if you are planning to do 2d games it's easier. If you want to do 3d then you can use Allegro along with Allegro GL.

--------------------------------------------------------

The monkeys are listening...

[edited by - FtMonkey on July 5, 2003 2:38:40 AM]

[edited by - FtMonkey on July 5, 2003 2:44:47 AM]

[edited by - FtMonkey on July 5, 2003 3:33:03 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by TheFiend
Well, can someone tell me the strong and weak points of both. This would help me out a lot.



OpenGL doesnt support sound but i find it easier to grasp than DirectX, which is better really is a matter of personal preference i think.

Share this post


Link to post
Share on other sites
TheFiend...
To be precise, it''s not DirectX you are talking about, it is Direct3D! DirectX is a combination of Direct3D, DirectSound, DirectMusic, DirectPlay, and DirectShow. Go search more on Google or somewhere else and read more about DirectX.

No, nobody here can tell which one is better. If someone tells you that Direct3D (or OpenGL) is better and gives you a whole bunch of reasons, that person is an idiot. They are graphics API, which one to use is totally up to you. Some people find Direct3D a lot better than OpenGL, but some others not.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
if u like functions use OpenGL
if u like classes use Direct3D

Share this post


Link to post
Share on other sites
Just try both out, see which one you prefer. Though if you''re on a low bandwidth internet connection(e.g. 56k) then you may want to use OpenGL because there''s no huge SDK to download.

Share this post


Link to post
Share on other sites
Use SDL and OpenGL!

The downside to DirectX is that the SDK is just too big to download. Bah!

Nothing is Impossible

Share this post


Link to post
Share on other sites
They are both good, depending on the platform you are programming (d3d is only for windows) and the programming style you like. If COM makes your skin crawl..use opengl. But nobody can really tell you if one is better than the other. Its just an opinion.

Share this post


Link to post
Share on other sites

  • Advertisement