Hi Roman, There are lots of ways of controlling the camera, via one of the range of CameraMaipulators that you'll find in osgGA, or a custom manipulator likes these, or simple set your views master Camera's View and Projection matrices yourself.
For tracking a node you might want to try the osgGA::NodeTrackerManipulator. See the osgplanets example. Robert. On 5/16/07, Roman Grigoriev <[EMAIL PROTECTED]> wrote:
Hi guys! Sorry for nub Q but what's the easiest way to move camera during simulation? I understand how to move objects using osg::PositionAttitudeTransform but I can't attach camera node to PositionAttitudeTransform that controls camera node. so I have coordinates osg::Vec3 (1,2,3) and angles HPR and need to place and rotate camera how can I do this? Thanx in advance Bye _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
