Sign in to follow this  

different shapes in DX9

Recommended Posts

ok i just learned how to make a textured quad, and i just wrote a small tiling engine drawing a quad, then translating, then drawing etc.. i was wondering, if i wanted to have a character move across the screen, which would be the most accepted practice.. re-texturing, scaling and translating the same quad? or buld another quad? and another question while i'm at it, sometimes when i change the default co-ords of my quad, the last vertex disappears and it becomes a triangle, is there something i'm doing wrong?

Share this post

Link to post
Share on other sites
here's the code from the quad that keeps changing to a triangle



EDIT: please disregard teh question about the quad showing up as a triangle, i realized my error in the order of the vertecies

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