Marine systems simulation
|
Control movement of camera.
CCameraController class Controls the movement of the camera relative to specified targets (positions), while pointing towards the current target. This is done by internally moving the camera along a 3D spline of distance, azimuth and elevation relative to a position. This position is found as a interpolation between the previous and the current target position. This interpolation is done between the start time of the current position and the smallest time interval of the specified interpolation time and the time to the next target.
The target positions are specified by distance, azimuth and elevation, in addition to the time to start following it.
Name | Width | Description |
---|---|---|
Pos1 | 3 | The position of the first target. |
PosN1 | 3 | The position of the N'th target. |
No output ports available.
Name | Width | Description |
---|---|---|
Times | <Number of waypoints> | The time to start tracking each waypoint. |
Distance | <Number of waypoints> | The camera distance to each waypoint. |
Azimuth | <Number of waypoints> | The camera azimuth when following each waypoint. |
Elevation | <Number of waypoints> | The camera elevation when following each waypoint. |
PositionFilterTime | 1 | The time to filter the target position when changing target. Default is 1 second. |
This SimObject contains no initial conditions.
This SimObject is referred to as Camera/Controller