Hi Martin,
The trackball dragger does not work correctly when orthographic projection is used - the rotation dragger parallel to the screen can not be used. There is an unhandled special case in projector.cpp, function getUnitCylinderLineIntersection() when the line is parallel to the cylinder main axis. The attached file handles that special case and now everything works fine!
Interesting, we've always had a problem with the trackball dragger where if you were looking at the cylinder from the top (parallel to its axis) the rotation would go crazy, even with perspective projection. Though obviously it will be more visible with ortho projections in modeling-like tools where you want Top, Side, Front views.
Good to see this fixed! Thanks! J-S -- ______________________________________________________ Jean-Sébastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
