Previous:Transforming Textures and Objects Main Index Next:Placing the Camera

## Camera

The camera definition describes the position, projection type and properties of the camera viewing the scene. Its syntax is:

CAMERA:
`
  camera{
` [CAMERA_ITEMS...] `}`
CAMERA_ITEM:
  CAMERA_TYPE
| CAMERA_VECTOR | CAMERA_MODIFIER | CAMERA_IDENTIFIER
CAMERA_TYPE:
`
  perspective
` | `orthographic` | `fisheye` | `ultra_wide_angle` | `
  omnimax
` | `panoramic` | `cylinder` CylinderType
CAMERA_VECTOR:
`
  location
` <Location> | `right` <Right> | `up` <Up> | `direction` <Direction> | `
  sky
` <Sky>
CAMERA_MODIFIER:
`
  angle
` Degrees | `look_at` <Look_At> | `
  blur_samples
` Num_of_Samples | `aperture` Size | `focal_point` <Point> | `
  confidence
` Blur_Confidence | `varience` Blur_Varience |
  NORMAL
|
  TRANSFORMATION

Depending on the projection type some of the parameters are required, some are optional and some aren't used. If no projection type is given the perspective camera will be used (pinhole camera). If no camera is specified a default camera is used. CAMERA_ITEMs may legally appear in any order but the order of some items is critical to the proper functioning of the camera. Follow the guidelines in this document closely because POV-Ray will not stop you from making mistakes.

Previous:Transforming Textures and Objects Main Index Next:Placing the Camera