The function "perspective" looks like a 3*3-matrix with sine och cosines and is it translation, scaling, rotation, some combination or other? How does it work? Is "perspective" the real proper name since it seems more like a rotation combined with a scaling? Thanks for any pointer about the function "perspective" where you can change the perspective of the image so that it looks like it was taken from another angle.

migrated from stackoverflow.com Oct 20 '11 at 11:28

This question came from our site for professional and enthusiast programmers.


Take a look at: http://www.math.ubc.ca/~cass/graphics/manual/pdf/ch10.ps.

  • Thank you. The grid helped me understand better. I now wonder what implementations are avilable and will look more. – Niklas Rosencrantz Dec 10 '11 at 3:17
  • 1
    Glad to help! :D In fact transformation matrices are used quite often in both vector and raster graphics software (e.g. wiki.inkscape.org/wiki/index.php/Release_notes/… – there's a tab called "matrix"), but it's not always so explicitly presented. – thebodzio Dec 10 '11 at 11:26

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.