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
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list