Sign in to follow this  
themadhacker

Simple Direct3D

Recommended Posts

Direct3D nowadays is so heavily geared up to 3D hardware accelerated graphics that the old days of pixel plotting and line drawing are tricky to implement - at least at a decent speed. If you have the surface you can lock it and obtain a pointer to the data, use the pixel format and pitch and calculate the offset for pixel plotting etc. for line drawing you just need to implement your own bresenham.

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