Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am currently working on a computer program that can properly plot a point on a 2d coordinate plane that has had its perspective changed to be tilted backwards. I don't have any information on how much the plane has been tilted. I can only get the four points of the resulting 2d trapezoid that makes up the tilted plane. Given a point that exists on the tilted plane, how can I translate it properly to the point that it should appear on the viewport? And given the four points of the trapezoid, can I calculate any tilt or rotation of the perspective plane in relation to the viewport?

My coordinate geometry terminology is a little fuzzy, so apologies in advance if my explanation is a bit unclear.

share|cite|improve this question
This is pretty close to a duplicate of 2D transformation. See if my answer there helps. –  robjohn Sep 26 '11 at 17:20
Thanks, this looks to be exactly what I'm going for. Now to just digest the info from the Wikipedia article so I can turn it into code. –  Mike C Sep 26 '11 at 17:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.