Hi Martin,

I've review your changes to TrackballManipulator and can't help feel
that making a trackball not work like a trackball makes it something
else.  Since we now have the SphericalManipulator that does some of
what you've done to TrackballManipulator perhaps the new
SphericalManipulator would be sufficient.

The zoom function is a bit like the setNode()/computeHomePosition()
combination.   The setNode feature is a really old feature of
MatrixManipulator so it may well be something that is due for a
review.  In fact the matrix manipulators are generally something that
is rather something that could do with a thorough review in light of
how the different manipulators work and are used today.   I can't
undertake such a review right  now though, plenty of other things on
my plate.

Robert.

On Tue, Apr 28, 2009 at 11:23 PM, Martin Beckett <[email protected]> wrote:
> I was playing with modjtabaf's spherical manipulator and thought a few 
> features would be useful in Trackball.
>
> This version can lock the rotation of view around the X,Y or Z (model) axis. 
> Mode can be set directly or with modkeys on the mouse movement.
> The modkeys can be user selected and disabled
>
> zoom function centres the rotation on a given node and zooms to fill the 
> screen with the node. Not so sure about this one - it requires storing the 
> original node inside TrackBall so it can be reset. Is there a way of doing 
> this by overloading setHomePosition() ?
>
> (changes are against 2.9.4)
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=11022#11022
>
>
>
>
> _______________________________________________
> 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

Reply via email to