Hi Cory, Spherical coordinates...
http://en.wikipedia.org/wiki/Spherical_coordinates Robert. On Tue, May 19, 2009 at 2:16 PM, Cory Riddell <[email protected]> wrote: > Mojtaba, > > Since Robert brought up the naming issue, I'm wondering if you could explain > what is spherical about this manipulator? I've been using it and it's > working well for me (other than the occasional exception from some of the > acos() calls), but why is it called a spherical manipulator? I've been > thinking of it as an orbit manipulator or an azimuth-zenith manipulator. > > Cory > > Robert Osfield wrote: > > Hi Mojtaba, > > On Tue, May 19, 2009 at 12:20 PM, Robert Osfield > <[email protected]> wrote: > > > Thanks for the new camera manipulator. I've just checked it in to > svn/trunk as is, but am planning to do a few tweaks to get the default > camera position to match that of the other manipulators. I would also > like to match of the set/get's so they fit better with how most > classes provide get/setters for their properties. > > > I've now made these changes and check them in. One thing I'm still > not comfortable with the naming used in the RotationMode enum: > > enum RotationMode > { > MODE_3D=0, > MODE_3D_HORIZONTAL, > MODE_3D_VERTICAL, > MODE_2D > }; > > > I'm not sure what any of these modes actually do, it would be good to > have names that convey what they make the manipulator behave like. If > we can get good names then it'll mean that then name itself will be > enough to document what it does. Could you have a bash at > explaining what each of these modes maps to in terms of bahavior then > perhaps as a community we can work out what would be most appropriate > naming. > > Thanks, > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
