Re: Problem with perspective transform matrix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Willem,

> However, when I use this transformation matrix in my own code, I get 
> strange results, even using the function gimp_matrix3_transform_point 
> from gimpmatrix.c.

It looks like you are applying the transform in the wrong direction...

> To compute a transformed coordinate (x', y') I simply multiply 
> (x, y, 1) by the transformation matrix that GIMP shows

In that case, I think that the transformation converts the destination 
coordinate to the corresponding source coordinate.


-- 
David Hodson  --  this night wounds time
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux