Sign in to follow this  
warmsun

D3D draw point in screen coord

Recommended Posts

hi,I am writing a software rendering-pipeline .now, i have a problem that how to draw point in screen coord. Because of mycode is in d3d, who can tell how to draw point in d3d with creen coord?

Share this post


Link to post
Share on other sites
I would recommend creating a texture that has the size of the screen and simply update the texture with your new pixels, or lock and update the back-buffer.

See my first reply in this thread for an example of updating the back-buffer in D3D9: [url="http://www.gamedev.net/topic/596425-best-way-to-achieve-fast-2d-these-days/"]http://www.gamedev.net/topic/596425-best-way-to-achieve-fast-2d-these-days/[/url]

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