Changes between Version 4 and Version 5 of CameraControl
- Timestamp:
- Mar 7, 2010, 6:46:36 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CameraControl
v4 v5 3 3 == Introduction == 4 4 5 osgVisual provides several approaches to control the camera (point of view). Independent from the selected driver the cluster modul transfer this camera position to all slaves, which modify their field of view according to the master view and their configured camera offset. 5 osgVisual provides several approaches to control the camera (point of view). Independent from the selected driver the cluster modul transfer this camera position to all slaves, which modify their field of view according to the master view and their configured camera offset. All camera control mechanism are implemented as camera manipulator. This way it is easy to change between them during runtime. 6 6 7 7 The camera can be controlled via: 8 8 1. All standart osg Manipulators like flight, terrain, spherical, nodetracker 9 9 1. A Spacenavigator (http://www.3dconnexion.com) based manipulator 10 1. A Spacenavigator based Nodetrackermanipulator for dynamic views 11 1. A Spacenavigator based Nodetrackermanipulator for semi dynamic views 10 1. A Spacenavigator based Nodetrackermanipulator. 12 11 1. Object position in the scene 13 12 1. External Link … … 21 20 For comfortable movements in the scene, a 3D mouse is recommended. This manipulator works with the Spacenavigator by 3Dconnexion. You can move and rotate along all axis simultaneously. 22 21 23 == Spacenavigator based Nodetrackermanipulator for dynamic views==22 == Spacenavigator based Nodetrackermanipulator == 24 23 25 This Manipulator works also with the Spacenavigator by 3Dconnection, but it hast to be attached on a node to track it. The point of view relative to this tracked node is controlled by the Spacenavigator. It is very sensitive and always returns to the standart viewpoint if the spacemouse is released. 26 27 == A Spacenavigator based Nodetrackermanipulator for semi dynamic views == 28 29 Basically this manipulator works like the Nodetrackermanipulator described above. In this manipulator, the camera position is not only controlled by the spacemouse, but also of the last camera position. The spacemouse is used to _MODIFY_ the camera attitude, not to represent the camera attitude. All spacemouse inputs will be added to the camera attitude. Therefor the camera remains at the last position if the spacemouse is released. This allows comfortable but slower and smoother movements of the camera. 24 This Manipulator works also with the Spacenavigator by 3Dconnection, but it hast to be attached on a node to track it. The point of view relative to this tracked node is controlled by the Spacenavigator. This manipulator can be used with or without auto homing of the camera: 25 * Auto homing camera position: Always returns to the standart viewpoint if the spacemouse is released. Spacemouse represents camera position. 26 * Static camera position: The spacemouse input is added to camera position. The camera remains on the last position if the spacemouse is released. 30 27 31 28 == Camera attached to object ==