This is a modification to the TrackballManipulator from release 2.8.1.

I noticed that when "throwing" things the rate of motion once thrown was
dependent on the complexity of the geometry.  For complex scenes this
meant that it looked like you were "throwing" the display into molasses.
For simple geometry things get over-excited once thrown.

The fix is to factor in the frame rendering time to the caluclated
motion.  I've implemented this for rotation and panning.

Now when things are thrown they maintain a rate very close to what was
happening when the mouse button was released.

I tested this with both trivial geometry and complex scenes.

You can toggle to the old behavior by pressing ALT-Space

Consider copyright assigned

Lee

Attachment: TBM.tgz
Description: application/compressed-tar

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to