Hi,
When I set my camera's position to (100.0, 60.0, 100.0) using
matrix.setTrans(100.0, 60.0, 100.0);
keyswitchmanipulator->setByMatrix(matrix);
the camera cannot be zoomed in any further. Must I change the CENTER vector of the camera to (0,0,0) from (100.0, 60.0, 100.0) before I can zoom in any further? How do I change the CENTER vector of the camera?
I don't what the problem might be. You'll need to have a look at the src/osgGA/TrackballManipulator.cpp internals to see what its doing when trying to zoom.
Robert.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
