How do I arbitrarily distort a textured polygon?
Posted
by Archagon
on Stack Overflow
See other posts from Stack Overflow
or by Archagon
Published on 2010-02-19T09:42:30Z
Indexed on
2010/04/05
19:53 UTC
Read the original article
Hit count: 387
I'd like to write a program that lets me arbitrarily distort a textured polygon by dragging its vertices. I want the texture to distort fluidly and without overlap, assuming the new polygon doesn't intersect itself. I should also be able to repeat the process with the new shape, and with a minimum amount of loss.
Are there any algorithms for doing this?
© Stack Overflow or respective owner