[PD] pix to polygon

IOhannes zmölnig zmoelnig at iem.at
Fri Jan 29 16:14:56 CET 2010


kubriel wrote:
> hello
> 
> im trying to texture clascial pix(no matter about resolution) to
> [polygon 4] because i want to set coordinates of corners of this pix.
> problem is, that textured pix on deformated polygon is always broken in
> diagonal
> 
> there is illustrative picture of my problem:
> http://img697.imageshack.us/img697/8818/polygons.png
> -in my gemwin, there is common pix facing camera on the left. in the
> middle is what happens if i try to texture it to deformated polygon, and
> on the right side is what i want(but this is only rotated around y axis,
> and i want to set coordinates of corners of my polygon)
> 
> i want to use it for projection mapping, but not possible with this
> deformation. is there any solution, how to fix it?
> 

if you are only interested in texturing on a trapezoid, use [trapezoid]
(and transformations like [shearXY]) to get the texturing right.

mfgasdr
IOhannes



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100129/ebc65c0e/attachment.pgp>


More information about the Pd-list mailing list