Hi Alex, On Tue, Aug 25, 2009 at 11:43 AM, Alex Malhao<franciskovi...@gmail.com> wrote: > When I load a map with OSGViewer the camera is positioned very far from the > map. How can I change the initial position of the camera?
use the camera manipulator setHomePosition i.e. viewer.getCameraManipulator()->setHomePosition(...); viewer.home(); > There is one other question, how can I use external data (gamepad, wiimote, > etc..) to make movements inside my osgViewer? Either write your own CameraManipulator an attach that to the viewer, or dispense with a CameraManipulator and set the viewer Camera's view matrix manually on each new frame. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org