Possible Duplicate:
How to map a point onto a warped grid
Let's imagine we have two matrixs. One is a simple straight matrix and the other one is distorted.
We need to scale down the distorted matrix and place it in a certain point on the straight one, making the straight matrix distort.
For example, in the drawing below the red vertexes in the straight matrix should distort, according to the scaled down distorted matrix.
Any ideas? Thanks!