Sign in to follow this  

Transformed Verticies vs Orthogonal + Position verticies

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

Like many others here, I have decided to write me a game. I'm not new to programming, but I am very new to graphics programming. My game is going to be 2D so I thought I would start there. I have managed to create a textured quad in Direct3D that will serve as my 2D environment. Currently, my quad is laid out using TransformedTextured verticies, but I think I could have also used an Orthogonal projection matrix for my camera and PositionTextured verticies. Is there any difference between these two in the long run? Will one make my life easier when I start into sprites and animations and whatnot? not sure if it makes any difference, Im working with the C# 2005 beta and managed DirectX 9. thanks in advance

Share this post


Link to post
Share on other sites
Quote:
Original post by Cosmosis
Currently, my quad is laid out using TransformedTextured verticies, but I think I could have also used an Orthogonal projection matrix for my camera and PositionTextured verticies. Is there any difference between these two in the long run? Will one make my life easier when I start into sprites and animations and whatnot?

Using a transformed vertex means the renderer won't do any transformations on it, because you tell it that everything is taken care of already. On the other hand, untransformed vertices will be transformed by the world, view, and projection matrices.

Share this post


Link to post
Share on other sites

This topic is 4835 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.

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