Jump to content
  • Advertisement

Archived

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

Mithrandir

3d->2d transformation?

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

I know the basics of how this works. you have a 3d vertex, divide the x and the y by the z, and there, you have a distance-related 2d coordinate. But how the heck does one do this in a matrix? I''ve always thought that the perspective matrix does this, but upon closer inspection, it doesn''t appear to convert 3d coords to 2d at all, at least, as far as I can tell. So how the heck does one do this?

Share this post


Link to post
Share on other sites
Advertisement
T([x,y,z]) = [x/z, y/z]

This is not a linear transformation, so you don''t do this with a matrix.
There is no way to do this with a matrix.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!