vcanim.gif (8357 bytes)SAA_cameraDolly
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SAA_cameraDolly

Moves the camera forwards and backwards in the direction of the camera interest.

Moving the camera forwards brings the camera closer to the interest, and makes objects look bigger, while moving the camera backwards makes objects look smaller. This function is typically preferred to SAA_cameraZoom because it doesn't introduce a deformation or fish-eye effect.

set scene [SAA_AllocScene]

set camera [SAA_AllocElem]

.

.

.

set delta 0.75

SAA_cameraDolly  $scene $camera $delta

camera
Camera to move forward or backward. To get a handle on a camera in a scene, use SAA_sceneGetCameras.
delta
Displacement of the camera along the line of sight. The unit of displacement is a full length of the line of sight. For example:
+1.0 Camera moves backwards such that the new line of sight is twice as long.
0.0 Camera stays in the same position.
-0.5 Camera moves forward such that the new line of sight is twice as small.
-1.0 Camera moves to the same position as the camera interest.

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.