[PD] Keystone correction

Jack jack at rybn.org
Fri Apr 6 02:14:36 CEST 2012


Le 06/04/2012 01:37, Jack a écrit :
> 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
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

OK, here a small exemple.
++

Jack


-------------- next part --------------
A non-text attachment was scrubbed...
Name: trapeze.zip
Type: application/zip
Size: 1026 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120406/7ba1e2d3/attachment.zip>


More information about the Pd-list mailing list