Re: [osg-users] Orbit manipulator right and middle mouse movement speed

2012-11-01 Thread Janna Terde
Hi J-S, Thank you very much for the reply! I've reworked old manipulators so they fit with the new implementation and hierarchy in osgGA. Currently I've created sub classes based on current manipulators in osgGA such as OrbitManipulator however I think it would be great to submit small

Re: [osg-users] Orbit manipulator right and middle mouse movement speed

2012-11-01 Thread Jean-Sébastien Guay
Hello Janna, Currently I've created sub classes based on current manipulators in osgGA such as OrbitManipulator however I think it would be great to submit small patched to osg later. I think that's generally a good idea as it means you have less code to maintain on your side in the

[osg-users] Orbit manipulator right and middle mouse movement speed

2012-10-24 Thread Janna Terde
Hi, I've noticed that osgGA::OrbitManipulator code for right and middle mouse movement has hard-coded values such as: Code: // doc in parent bool OrbitManipulator::performMovementMiddleMouseButton( const double eventTimeDelta, const double dx, const double dy ) { // pan model float scale =

Re: [osg-users] Orbit manipulator right and middle mouse movement speed

2012-10-24 Thread Jean-Sébastien Guay
Hello Janna, Is there particular reason scale is hard-coded and no parameter is exposed to be able to modify movement scale for middle and right mouse button? Or is there some other way to do it? There was a large refactoring of camera manipulators about 2 years ago. OrbitManipulator is