Re: [osg-users] Arcball Camera without unexpecting 'roll' of the camera

2016-05-17 Thread Jan Ciger
On Tue, May 17, 2016 at 2:35 PM, Daniel Neos wrote: > Unfortunalety there is no feature "throw" feature. My class inherits from > osgGA::GUIEventHandler and there is no setAllowThrow implemented, as far as > I know. > > And if I am zooming in, sometimes the effect gets

Re: [osg-users] Arcball Camera without unexpecting 'roll' of the camera

2016-05-17 Thread Daniel Neos
Unfortunalety there is no feature "throw" feature. My class inherits from osgGA::GUIEventHandler and there is no setAllowThrow implemented, as far as I know. Here is (part of) my actual mouse dragging code: Code: bool CameraHandler::handle(const osgGA::GUIEventAdapter & ea,

Re: [osg-users] Arcball Camera without unexpecting 'roll' of the camera

2016-05-17 Thread Christian Buchner
Could it be that the "throw" feature of the camera manipulator is responsible for the roll? If so, try disabling it. Also, post source code if you want specific help with a specific issue in your implementation. Christian 2016-05-16 14:59 GMT+02:00 Daniel Neos : > Hi

[osg-users] Arcball Camera without unexpecting 'roll' of the camera

2016-05-16 Thread Daniel Neos
Hi everyone, I have implemented a Cameramanipulator by myself, because I need more individually control over the camera in the scene, like rotating around a specific axis. I let osg compute the Boundingsphere of my scene and set the rotationpoint and the lookat-point or center-point at the