Hi.

I have this code:

    viewer.addEventHandler(keyboardEventHandler);
    viewer.setCameraManipulator(camera->getManipulator());
    viewer.setSceneData( root );
    viewer.realize();

    while( !viewer.done() )
    {
        car->update();
        camera->update();
        viewer.frame();
    }

I'm controling manipulator with keyboard, so I don't need default mouse control. How may I turn it off? And how can I change distance of manipulator manualy? I mean with mouse I can zoom in/out with scroll, but I can't find any methods which allows me to do it by myself.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to