Projective Texturing
Steven Wittens has created this excellent demo of the canvas element being used for projective texturing.
Perspective views are described by so-called projective transforms, which Canvas2D does not support. However, it does support arbitrary clipping masks as well as affine transforms of both entire and partial images. These can be used to do a fake projective transform: you cut up your textured surface into a bunch of smaller patches (which are almost-affine) and render each with a normal affine transform.
View the Projective Texturing demo



Comments
Frank Jakob
I’m impressed! I would like to do a 3D exhibition (Galary) for my wife. She is a painter. Is it possible to get some ideas ho to realise? Mathmatics for 3D is not a problem at all for me. But how to realise with canvas manipulation?
Regards Frank
Posted on December 27, 2010
Related demos