Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Using transformation matrices on transformed vertices?

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

Do you mean...after you transform them once, you transform them again from that position? If so, you can''t.

Vertices are only transformed by the matrix specified by SetTransform() before they are rendered by the fixed-function pipeline. They are not transformed right after SetTransform() is called.

Can''t you just multiply the matrices together, then apply the transform?

Dustin Franklin
Mircrosoft DirectX MVP

Share this post

Link to post
Share on other sites
No i mean when you use the customvertex format and specify D3DFVF_XYZRHW. Which makes the vertex coordinates screen coordinates. So im wondering if there is anyway to use transformation matrices on rhw vertices.
I want to do this because im doing 2d in d3d. I know i could rotate and move etc manually, but using matrices would be cooler i figured

[edited by - peter_b on February 21, 2004 12:00:34 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!