Sign in to follow this  
CodeTitan

DirectDraw or Direct3D?

Recommended Posts

On Flipcode, one article stated that DirectDraw was outdated. It did not make sense for newbies to DirectX to learn an outdated system. Instead, it said to learn Direct3D in 2D. I am confused. Which one should I use? I see more people using DirectDraw, but the article denounces it.

Share this post


Link to post
Share on other sites
I can't answer you directly, but here's some threads that cover this topic.

should I skip learning directdraw?
DirectX 9: DirectDraw vs Direct3d
DirectDraw or Direct3D?
DirectX 9 -- DirectDraw - Important note about the DX7 SDK.
Now that DDraw/D3D are merged...

There's plenty others, too. Just do a search on "DirectX or Direct3D", and it'll turn up plenty of threads.

Hope that helps,

-hellz

Share this post


Link to post
Share on other sites
People now a days also Direct Draw. But yes it is outdated. It hasn't gone under development since years.

Yes ... Direct3D can be used for 2D Stuff too. Take it this way ... in 3D you have 3 Axis ... X, Y & Z. What you do with it is that you use X & Y while setting Z a common value for the whole game ... lets take 1.0f for an example.

Try to have a look at a few tutorials in the article section. Both of them are quite easy. Its just that D3D requires a lot of code then 2D. Why the articles suggest it ... well its obvious to go with the new technology. You don't want to stay behind every one or do you?

Share this post


Link to post
Share on other sites
Well, I'd suggest going with Direct3D. Your goal is to one day move into 3D game programming, right? If you learn DirectDraw, you'd have to relearn everything to learn Direct3D. But if you go 2D in Direct3D, the transition will be a lot easier.

Share this post


Link to post
Share on other sites
Quote:
People now a days also Direct Draw. But yes it is outdated. It hasn't gone under development since years.


That's not quite correct. DirectDraw is used by most Media Players on Windows for overlay surfaces and video format data.

But it's capabilities haven't been improved much, you're right.

Thermo

Share this post


Link to post
Share on other sites
Quote:
Original post by The Lion King
People now a days also Direct Draw. But yes it is outdated. It hasn't gone under development since years.


Yes, the reason DirectDraw is not updated is because the current trend is in 3D graphics. It's arguable that 2D is dying out (more importantly in popularity). Both DirectDraw and Direct3D can be used in a 2D environment.

Share this post


Link to post
Share on other sites
I am currently going through the Andre Lamothe "Tricks of the 3D Game Programming Gurus". The book basically is a huge tutorials for building a software based engine in DirectDraw.

I have done games in Direct3D but I am finding that "getting dirty" with DirectDraw and learning and understanding the 3D functions is amazing.

Just another perspective :)

Share this post


Link to post
Share on other sites

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