Camera

class guerilla.Camera

Bases: guerilla.CameraBase

A class of camera that can be used for rendering

CustomFieldDistance

The distance to the center of the depth of field interval

Type:types.float
EyeDistance

Interocular distance in linear scene units

Type:types.float
EyePosition

Position of the eyes, “symmetric”, “left”, “right”

Type:types.string
FieldDistance

The renderable distance to the center of the depth of field interval (not serialized)

Type:types.float
FieldFactor

The strength of the depth of field blur

Type:types.float
HumanEyeDistance

The distance between an human eye, used for stereo divergence checking

Type:types.float
StereoMode

Convergence mode, “skew”, “parallel”, “convergent”

Type:types.string
StereoScreenDistance

Distance to the convergent stereo screen

Type:types.float
TheaterScreenSize

The size of the theatre screen for stereo divergence checking

Type:types.float

Connect/disconnect a camera to/of a layer

Parameters:
  • layer (RenderPass) – The Layer to connect to/disconnect of
  • link (bool) – True to connect the camera to the layer, false to disconnect