[PD] GEM/math: correctly rotating in space

Frank Barknecht fbar at footils.org
Sun Oct 16 13:54:07 CEST 2005


Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

> maybee you can have a look at the tLink3D object of the pmpd lib.
> 
> just send position of your 2 points on the 2 inlets, you'll have the 
> orientation output in a gem compatible way.

Using tLink3D surly will make the computatons more effective, however
calculating the vector between to points and its length (as tLink
does) is not my real problem, the problem is more, how to correctly
use this information to draw correct rotations in Gem. 

In 2D (polar coordinates) this is simple, but I still haven't found a
way to add the missing rotation to go from polar/cartesian to
spherical coordinates.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list