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

 

 


SAA_cameraZoom

Zooms in or out in a scene.

This function increases or decreases the field of view of a camera by a relative factor of 5%. A bigger field of view means you will see more objects but they will look smaller. A smaller field of view means you will see fewer objects but they will look bigger. A big field of view will distort the scene (fish eye effect).

set scene [SAA_AllocScene]

set camera [SAA_AllocElem]

.

.

.

set delta -0.75

SAA_cameraZoom  $scene $camera $delta
camera
Camera to modify (perspective projection only). To get a handle on a camera in a scene, use SAA_sceneGetCameras().
delta
Delta angle for the field of view of the projection. In this release, only the sign is important.
  • A positive delta decreases the field of view by 5% (zoom in).
  • A negative delta increases the field of view by 5% (zoom out).

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.