disguise developers

Designer Plugins

Plugins for Disguise Designer software.

DepthMapMesh

A mesh which update its depth based on a depth map texture, mapped to it using a DepthMapProjection.

The bounds of the mesh are defined by a frustum based on the field of view, near plane and far plane.

Category: Stage

Base class: Mesh

Properties

blurRadius : float

Radius of texture area to implement blur on. Value of 1 means entire width of input texture

UserName: Blur radius

depthOffset : float

Z offset in metres of the origin of the mesh relative to the frustum eye point

UserName: Depth offset (m)

depthType : int

The type defining how the depth map is interpreted.
Raw: Normalised between 0 and 1, with 0 being near plane and 1 far plane.
Relative inverse: Inverse normalised depth, with 0 being far plane and 1 near plane.

Options: {0: ‘Raw’, 1: ‘Relative inverse’}
UserName: Depth type

dilateRadius : float

Radius of texture area to implement dilate on. Value of 1 means entire width of input texture

UserName: Dilate radius

fov : Vec2

The field of view of the frustum representing the bounds of the mesh, in degrees

UserName: Field of view (degrees)

maxDepth : float

The maximum depth of the mesh or far plane of the frustum, in metres

UserName: Max depth (m)

minDepth : float

The minimum depth of the mesh or near plane of the frustum, in metres

UserName: Min depth (m)

resolution : Int2

The X/Y resolution of the vertices of the mesh

UserName: Resolution

showFrustum : bool

Whether to display the frustum showing the bounds of the mesh

UserName: Show frustum