I'm attempting to write a patch which displays a 3D plot of the position of an ambisonically panned sound source around a central receiver point. Apologies in advance but my knowledge of jit.gl objects is basic at best.
I am trying to write a patch which displays a small solid sphere (representing the sound source) on a larger opaque sphere (representing the unit sphere). I need the smaller sphere to move around with the paramaters azimuth and elevation (the radius would be fixed).
So far I've managed to display both of the spheres but I cant seem to control them in the way I would like. Can anyone give me a pointer to an object they think could help? I'm assuming I need some sort of cartesian to spherical coordinate converter and I'll have to be careful about which coordinate system I use.
Thanks in advance for any help