Hello!
you could also have a look into a toolkit we developed(with extensive help by cyrille henry),
that deals exactly with this kind of problems.
you can download it via
http://puredata.info/Members/Weitsicht

it also offers you a number of functions like saving, adjusting the edges in the gemwindow with
the mouse and some more.
when downloading, you will find a number of examples. every abstraction has its own helpfile.
open 01_ev_module_list and look for the ev_easymap22 module, rightclick-->help
to see a helpfile on how to use it.
regards, peter


Gesendet: Mittwoch, 28. März 2012 um 08:21 Uhr
Von: "Cyrille Henry" <ch@chnry.net>
An: pd-list@iem.at
Betreff: Re: [PD] Keystone correction
hello,

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.

cheers
Cyrille


Le 27/03/2012 23:23, Charles Goyard a écrit :
> Hi Cyrille,
>
> Cyrille Henry wrote:
>> you can render anything on a framebuffer, then using it as a texture to the polygon.
>> look at gem example:
>> Gem/examples/12.multi_screen_projection/02.nfp-help.pd
>> it's a bit more complex than what you want to do, but you'll may find it interesting.
>
> Thanks, that's very helpful. Now I have a texture with an in-circle pix,
> and that texture is mapped into a polygon.
>
> However, the result is a bit weird. It looks like the point of view is
> rotated by 90 degrees and with a bit angled Z-axis. I don't understand
> the camera object. How can I get back to something more frontal ?
>
> Cheers,
>
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list