Hello,
I have a 3d scene that I manipulate with a TrackballManipulator, and setup
a scene in which all nodes are centred in (5, 1).
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 t
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/CameraManipulat
2 matches
Mail list logo