Martin Beckett wrote:
I would need all the zoom features of Sphericalmanipulator (eg mouse wheel) to work the same in ortho mode - or at least have the same visual effect, so the users don't need to understand the difference.
So, when you're in orthographic mode, you want the controls that move the eye forward and backward to instead control the field of view? This is probably a good idea, because there's no point in moving the eye forward or backward in an orthographic projection.
To do this, make an event handler to control the projection matrix field of view using the same interface as whatever CameraManipulator you want to emulate. Make sure you consume the event and don't pass it on to subordinate event handlers (like the CameraManipulator).
But this seems to be getting away from what the Spherical manipulator is.
Perspective versus orthographic projection should be unrelated to the view controls, so there's really no reason why you shouldn't be able to use either projection type with OSG's CameraManipulators.
-Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

