Jump to content
  • Advertisement
Sign in to follow this  
leonard2012

For 2D graphics rendering, which one (D3D or D2D) should I use?

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

I've just learned some D3D programming and my current job is to write a graphics editing application that use DirectX for 2D graphics rendering. Is it necessary to learn Direct2D to get the work done, or which one should I use for 2D graphics rendering? Direct3D or Direct2D?Thanks.

Share this post


Link to post
Share on other sites
Advertisement
2D is just a special case of 3D; you can do 2D in any 3D API by using an ortho projection and/or by giving everything the same fixed value of Z.

Share this post


Link to post
Share on other sites
You can also interoperate between D2D and D3D (with a bit of hassle). D2D provides some stuff (like complex 2D shape rasterization) that the D3D core doesn't.

Share this post


Link to post
Share on other sites
That's correct too. You can really just pick whichever suits you the best based on the requirements of the program and your own knowledge (and whether or not learning D2D is something you want to do right now).

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!