Camera
Prev | Chapter 30. YafRay | Next

## Camera

Relevant to Blender v2.31

    <camera name="Camera" resx="1024" resy="576" focal="1.015937">
      <from x="0.323759" y="-7.701275" z="2.818493"/>
      <to x="0.318982" y="-6.717273" z="2.640400"/>
      <up x="0.323330" y="-7.523182" z="3.802506"/>
    </camera>

- `Name`: Name of the camera.

- `resx`: Horizontal resolution (rendered image width in pixels).

- `resy`: Vertical Resolution (rendered image height in pixels).

- `res`: Resolution of the shadowmap (only for volumetric shadows by now).

- `focal`: Field of View. Equivalent to lens length in real world camera - 1.093 is roughly 35mm, 6.25 is roughly 200mm.

- `from`: Position of the camera.

- `to`: Target of the camera.

- `up`: Camera's 'Up Vector' - defines what is considered the 'up' direction of the camera.

Prev | Up | Next
Background | Home | Render