Jump to content
  • Advertisement
Sign in to follow this  
CodeTitan

DirectDraw or Direct3D?

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

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
Advertisement
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
Sign in to follow this  

  • 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!