1

I'm making a 2D game with Pygame. There is a surface which I'd like to deform perspectively (without using OpenGL) Has anyone an idea on how to accomplish that?

Here's a picture showing the original image and one example of what I mean by deform perspectively.

enter image description here

Hedge
  • 16,142
  • 42
  • 141
  • 246
  • do you only need to display it deformed like that or does it need to be a variable amount so that it can be changed to almost anything by the user? – Chachmu Dec 06 '12 at 17:24
  • It needs to be a variable amount. – Hedge Dec 11 '12 at 11:45
  • 2
    This is directly answered in your other question: http://stackoverflow.com/questions/14177744/how-does-perspective-transformation-work-in-pil/14178717#14178717. – mmgp Jan 07 '13 at 05:58

0 Answers0