Tutorial: Perspective Lens

Perspective Lens

perspective_lens

A lens that applies a perspective projection.

Dependencies

  • camera

Attributes

Attribute Type Default Description
aspectRatio float 1.777 Specifies the aspect ratio of the viewport, usually equals width/height.
fovy float 60 Specifies the field of view angle in the y direction.
nearPlane float 0.01 Specifies the distance from the viewer to the near clipping plane.
farPlane float 0 Specifies the distance from the viewer to the far clipping plane.