[PD] cartesian to angles x y z confusion...

Peter Plessas plessas at mur.at
Tue Jan 16 23:52:57 CET 2007


Could it be that you are mixing up degrees and radians?
afaik, cart2sph gives you radians, but i might be wrong...

p8r

timon wrote:
> Hi, I know this is not the way to do it but Im really stuck here.
> Im plotting text objects on XYZ in Gem. Now, I just want to be able to 
> rotate the global co-ordinates (my master gemhead) so that they follow 
> the XYZ positions of the plot. Should be straight forward, cart2sph, 
> convert to degrees and bang. Nonon. I have tried any possible 
> combination but wont get the rotation to match the position. Im aware 
> that the first outlet of the [cart2sph] gives me the radius and Im not 
> sure how to use this for anything. Does anyone know how to work this? 
> Should be simple camera maths...
> 
> Any suggestion is welcome.
> Thanks,
> Timon
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list