Hi Bruno, The home position is set during initialization of the view to the scene graphs BoundingSphere's center and radius. If you want to change this home position then simply use a call along the lines:
viewer.getCamaraManipulator()->setHomePosition(...) See the include/osgGA/CameraManipulator API for details. Robert On 3 November 2016 at 12:46, Bruno Oliveira <[email protected]> wrote: > Hello, > > I have a 3d scene that I manipulate with a TrackballManipulator, and setup a > scene in which all nodes are centred in (50000, 10000). > > Now when I try to do use the home() function, I can't see my nodes. But if I > center my scene around (0, 0, 0), my nodes appear. > Should I use something else than home() to center my camera? > > Thank you > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

