[PD] GEM local transform

IOhannes m zmölnig zmoelnig at iem.at
Tue Jan 6 21:30:22 CET 2015


On 01/06/2015 09:12 PM, patrice colet wrote:
> Hello,
> 
>  is there a simple way in Gem to rotate an object locally,
> or in other words is it possible to rotate an object on z axis, and then
> rotate on the new x axis given by z axis rotation?
> 
> I believe it would be possible to do that with some matrix magicks but
> it looks complicated to me, maybe there are examples somewhere?

i'm sure i misunderstand the question, as the answer i find is rather
simple (all transformations in Gem are always on the local coordinate
system)

|
[rotate 12 0 0 1]
|
[rotate 42 1 0 0 ]
|

or even:
|
[rotateXYZ 0 0 12]
|
[rotateXYZ 42 0 0]
|

fgmsadr
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150106/44bb4431/attachment.sig>


More information about the Pd-list mailing list