Hi Forest.

On Mon, Jan 4, 2010 at 3:47 AM, forest <[email protected]> wrote:
> hi all
>       I know that we can use mouse right button to zoom trackball, but what
> I want is to draw a rectangle on the screen, then zoom the view to the
> rectangle, what should I do?

Use TrackballManipulator::setHomePosition(..)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to