[PD] Keystone correction

Jack jack at rybn.org
Fri Apr 6 01:37:56 CEST 2012


Le 05/04/2012 20:37, Charles Goyard a écrit :
> Hi,
>
> I don't understand how I can move the points of a mesh_square to make a
> trapezoid.
>
> Cyrille Henry wrote:
>> don't use a polygon, but a mesh_square or a curve3d.
>>
>> Le 27/03/2012 11:21, Charles Goyard a écrit :
>>> Hi Cyrille,
>>>
>>> Cyrille Henry wrote:
>>>> you have to manually adjust the position of the 4 vertices defining
>>>> the corned of the primitive in order to spacially adjust them.
>>>> then, you have to adjust the position of the teture in this point
>>>> (it's an option that you don't really need).  here it is adjusted in a
>>>> neutral position.
>>> Now, I have something almost working. The only thing is that my texture
>>> gets folded along a diagonal when I move the polygon vertices. Drawing
>>> the polygon as line shows the right trapeze.
>>>
>>> Also I don't understand why I need to rotate my texture along the Z axis
>>> to get it right.
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/listinfo/pd-list

Hello Charles,

You can do that with a vertex shader.
++

Jack





More information about the Pd-list mailing list