[PD] pix to polygon

2010-01-29 Thread kubriel
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?

kubo


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pix to polygon

2010-01-29 Thread IOhannes zmölnig
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





signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list