Hi list, Is it possible to change the CENTERED point inside the GemWin?
I would like to rotate two different objects (square + sphere) within 2 different pivot points.
Thanks, Carlos Caires
Hallo, som e imagem hat gesagt: // som e imagem wrote:
Is it possible to change the CENTERED point inside the GemWin?
I would like to rotate two different objects (square + sphere) within 2 different pivot points.
Just [translate] after you [rotate], then it will appear as if you rotated around the point, you translated to.
Frank Barknecht _ ______footils.org_ __goto10.org__
OK, but the centred point of the rotation is always on the centre of the GemWin. Is there a way to have two pivot points on the same Gemwin? C.C.
On 06/02/15 17:08, "Frank Barknecht" fbar@footils.org wrote:
Hallo, som e imagem hat gesagt: // som e imagem wrote:
Is it possible to change the CENTERED point inside the GemWin?
I would like to rotate two different objects (square + sphere) within 2 different pivot points.
Just [translate] after you [rotate], then it will appear as if you rotated around the point, you translated to.
Ciao
som e imagem wrote:
OK, but the centred point of the rotation is always on the centre of the GemWin. Is there a way to have two pivot points on the same Gemwin? C.C.
yes. [rotate] after [translate].
mfg.asdr IOhannes
On 06/02/15 17:08, "Frank Barknecht" fbar@footils.org wrote:
Hallo, som e imagem hat gesagt: // som e imagem wrote:
Is it possible to change the CENTERED point inside the GemWin?
I would like to rotate two different objects (square + sphere) within 2 different pivot points.
Just [translate] after you [rotate], then it will appear as if you rotated around the point, you translated to.
Ciao
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, som e imagem hat gesagt: // som e imagem wrote:
OK, but the centred point of the rotation is always on the centre of the GemWin. Is there a way to have two pivot points on the same Gemwin?
Hm, I'm sorry, but I don't think, I understand what you mean here. Of course to rotate the cube and the sphere independently, you will need to put them into their own [gemhead]-chains (or use [separator]). But you are free to do any combination of rotation and translation you want. You could translate first, then rotate, then translate again. However note, that the order of all the translate- and rotate-operations matters: You will be in a different spot if you walk first, then turn, compared to turning first, then walking some steps.
Frank Barknecht _ ______footils.org_ __goto10.org__
OK, thanks. C.C.
-----Original Message----- From: pd-list-bounces@iem.at on behalf of Frank Barknecht Sent: Wed 2/15/2006 7:30 PM To: pd-list@iem.at Subject: Re: [PD] [GEM]-pivot change
Hallo, som e imagem hat gesagt: // som e imagem wrote:
OK, but the centred point of the rotation is always on the centre of the GemWin. Is there a way to have two pivot points on the same Gemwin?
Hm, I'm sorry, but I don't think, I understand what you mean here. Of course to rotate the cube and the sphere independently, you will need to put them into their own [gemhead]-chains (or use [separator]). But you are free to do any combination of rotation and translation you want. You could translate first, then rotate, then translate again. However note, that the order of all the translate- and rotate-operations matters: You will be in a different spot if you walk first, then turn, compared to turning first, then walking some steps.
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list