Hi,
In PyQt/PySide how can i make spherical joystick kind of button ?? like 
zbrush light direction UI
I have polygon arrow model at origin, And i want to control direction of 
arrow using this kind of button.

I think Spherical Coordinates system will be useful to create this.
i.e
x=ρsinϕcosθ
(8)
y=ρsinϕsinθ
(9)
z=ρcosϕ

ρ=x2+y2+z2−−−−−−−−−−√
(11)
tanθ=yx
(12)
cosϕ=zx2+y2+z2−−−−−−−−−−√

<https://lh3.googleusercontent.com/-j2NOG121n-Y/VxhSHuXWCVI/AAAAAAAABW4/1lEPJctxxi8hmKjcnTtBjIm73a9XSx7WQCLcB/s1600/Light_labels.jpg>












Give me your inputs
Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/96102822-49da-4f45-ba90-fed1143f54df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to