User Tools

Site Tools


camera_perspective

Description

Defines properties of a perspective camera.

Parent Objects

Properties

Name Description Default Required
znear The near clipping plane no
zfar The car clipping plane no
yfov Field of view along the vertical (y) axis, in degrees. 45.0 no
focal_length Focal length no
depth_of_field If this camera should do depth of field false no
focal_distance Focal distance no
fstop F stop for the camera no

Example

{
    "znear" : 0.1,
    "zfar" : 1000.0,
    "yfov" : 45.0,
    "focal_length" : 50.0,
    "depth_of_field" : false,
    "focal_distance" : 50.0,
    "fstop" : 25.0
}