[PD] Free rotation in GEM
B. Bogart
ben at ekran.org
Thu Jul 17 01:15:45 CEST 2008
I suppose we'll here from David...
I do certainly not quite understand what he is aiming to do.
As for the heart of the question:
"...I have come across concepts such as multiplying matrixs and
converting a matrix to 'quarternion', 'gimbal lock'."
Does not sound like he is explicitly trying to avoid "gimbal lock" to me. ;)
.b.
Mathieu Bouchard wrote:
> On Wed, 16 Jul 2008, B. Bogart wrote:
>
>> If you are just wanting to rotate many times, using huge numbers then
>> tricks like: wrap 0 359 work well...
>
> Depends how huge they are. Pick 1000000032. That should give 312
> degrees, supposing you use [wrap 0 360] instead of [wrap 0 359]. But as
> a pd float, it gives either 280 or 344 depending on how the rounding
> happens.
>
> But this [wrap] trick is definitely not something that one can consider
> using if one is concerned with gimbal lock, and pspunch said he wants to
> avoid gimbal lock, so I don't know why you even mention it, if you want
> so much to stick to the "heart of the question".
>
> _ _ __ ___ _____ ________ _____________ _____________________ ...
> | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
More information about the Pd-list
mailing list