Return to index

NAME

cam - create a camera

SYNOPSIS

cam [ id = ] ( eye point | center point | up vector | view h_angle v_angle )+

DESCRIPTION

Create a new camera with the following parameters: If the camera hasn't got name then it can't be used in a channel animation.

EXAMPLE

# Create a new camera persp
cam persp = 
  eye 0 0 0
  up 0 1 0
  center 0 0 -346.236
  view 37.8493 37.8493

# Define a channel to rotate the camera.
channel persp.up XRotate [X] persp_rotateX 
channel persp.center XRotate [X] persp_rotateX 


SEE ALSO

channel