Sign in to follow this  
Uphoreum

[.net] C# 2D Managed DirectX Tutorial?

Recommended Posts

Since DirectDraw is deprecated, I'm looking to learn how to draw 2D graphics using Direct3D. As far as I can tell, this is only done by rendering a textured quad. Is it possible to draw 2D graphics like in DirectDraw, or is it all textured quads in Direct3D? Either way, I'm looking for a tutorial on 2D Direct3D graphics.

Share this post


Link to post
Share on other sites
There is D3DXSprite to help, or manually doing textured quads work. Drunken Hyena has good tutorials in C# on the subject.

Share this post


Link to post
Share on other sites
Textured Quads are most likely a great way to go, I have heard lots of issues with Sprites and Shaders. However Sprites are great for simple, quick and easy graphics like tile based maps. Very easy to batch render a ton of sprites.

Should also check out Coding4Fun

[Edited by - Krisc on October 1, 2006 9:44:25 PM]

Share this post


Link to post
Share on other sites
There is a Managed DirectX Tutorial for 2D for Visual studio 2003, and 2005 in the latest release of the DirectX SDK.

That's a great place to start.

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