Open julapy opened 5 years ago
There's nothing in twgl to do that.
I don't know what you were trying to do but I found this article
http://www.reedbeta.com/blog/quadrilateral-interpolation-part-1/
and used to make this
Also there's this
@greggman thanks, thats exactly it!
which one were you looking for? The JS one (just map points) or the WebGL one (draw a texture)?
hi, couldn't find any info in the docs so thought id post here.
looking for an implementation of the below in TWGL: https://github.com/jlouthan/perspective-transform taking 4 points of a rectangular quad and transforming them to match 4 points of another irregular quad.
quad to quad
as some libraries call it... also sometimes calledquad warping
.wondering if there is some utility function that can do this? id like to save some time porting this if possible.