[osg-users] How to set distance of camera manaly, and turn off mouse control in viewer?

2012-02-18 Thread Maciej Ciemborowicz
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();

Re: [osg-users] How to set distance of camera manaly, and turn off mouse control in viewer?

2012-02-20 Thread Robert Osfield
HI Maciej, On 18 February 2012 08:00, Maciej Ciemborowicz wrote: > 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 >