Sign in to follow this  
REspawn

DirectX or OpenGL

Recommended Posts

Hey all, i have spent some time getting do with c++ and was wondering if it was better to use OpenGL or DirectX. Most of the big games seem to be using OpenGL more and more so is it better than DirectX. Thanks for any help, -Dave

Share this post


Link to post
Share on other sites
It's a matter of preference, some people advocate OpenGL because they say its easier to learn. Some advocate DirectX because they say its more actively updated. Both are used fairly equally in games you see. Both have the same capabilites. Try out both and pick which interface you think is easier to use. You'll probably end up knowing both in the long run.

Share this post


Link to post
Share on other sites
Quote:
Most of the big games seem to be using OpenGL more and more so is it better than DirectX.


Actually the trend seems to be going towards DX. Most new recent games use DX, a notable exception being Doom 3 (which uses OpenGL).

Anyway Squirell pretty much summed how to choose between them, look at both and choose which you prefer.

Share this post


Link to post
Share on other sites
Quote:
Original post by Roboguy
I recommend opengl + sdl, because it's multiplatform, and has all the features of directx.

Since when is that?
As Pipo pointed out, DirectX is much more than just D3D and DI.

While one advantage of OpenGL might be its immediate mode, which makes it easy for the beginner to get started you will have to provide your own math functions and classes for example.
While D3D might seem a little confusing and counter-intuitive at first, differences will vanish for intermediate and advanced areas.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this