Jump to content
  • Advertisement
Sign in to follow this  
nickyc95

2D Rendering using DirectX 11

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

Ok Hello, 

 

I am trying to understand 2D rendering in DirectX 11, however I dont know what the best way to go about it is.

 

I have spoken to a few people who have said using textured quads, however i dont know how to go about doing that.

 

Could anyone shed some light on this for me?

 

Thanks

Share this post


Link to post
Share on other sites
Advertisement

2D rendering in D3D11 is really no different from 3D rendering.  You set up your vertex data, set some states and issue a draw call.  The projection matrix you use is different because that's where you get the 2D look from, but that's really just an incredibly small part of your setup.  The reality though is that 2D is really just a special case of 3D.

 

If you're having difficulty with this then you need to go back to some more basic tutorial material.

Share this post


Link to post
Share on other sites

2D rendering in D3D11 is really no different from 3D rendering.  You set up your vertex data, set some states and issue a draw call.  The projection matrix you use is different because that's where you get the 2D look from, but that's really just an incredibly small part of your setup.  The reality though is that 2D is really just a special case of 3D.

 

If you're having difficulty with this then you need to go back to some more basic tutorial material.

 

I understand how it is done, I was just unaware of any 2D specific things that DX11 has to offer for example a newer version of ID3DX10Sprite.

 

However i think i have already figured it out, so yeah.

 

Thank you for the input though.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!