[osg-users] ...framing only visible objects

Robert Osfield robert.osfield at gmail.com
Tue Jul 31 09:09:00 PDT 2007


Hi Alessandro,

The space bar is call home on the manipulator, and this takes the
manipulators position to its home position, which you can set via...
setHomePosition(,,);

On 7/31/07, alessandro terenzi <a.terenzi at gmail.com> wrote:
> Hello,
> using osgViewer, I see that pressing the spacebar the view is restored in
> order tor frame all the objects in the scene... I also noticed that it
> adjusts the camera in order to consider also objects that are not visible...
> how can I change this behaviour in order to frame just visible objects?
> Where can I have a look in osg code to understand how the 'spacebar' event
> is handled?
>
> Thank you. Best regards.
> Alessandro
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


More information about the osg-users mailing list