disguise developers

Designer Plugins

Plugins for Disguise Designer software.

Projector

Base class: SlcAwareDisplay

Properties

_drawReferencePoints : bool

_guiState : ProjectorGuiState

_preferredOutputMode : int

activeOutputMode : int (Read-Only)

antiAlias : int

Anti-aliasing technique - makes edges smoother, but reduces performance

Options: {0: ‘None’, 1: ‘FXAA’, 2: ‘2x MSAA’, 3: ‘4x MSAA’, 4: ‘8x MSAA’}
UserName: Anti-aliasing

autoSoftEdge : int

Allows you to turn off Dynamic Blend on individual projectors

autoSoftEdgeMembershipFunction : int

Dynamic Blend Membership Algorithm

Options: {0: ‘Linear’, 1: ‘Radial’, 2: ‘Linear To Radial’}

autoSoftEdgeSnapshotted : int

Lock Dynamic Blend snapshot

barnDoorBottom : float

Bottom edge of Dynamic Blend barndoor; increase this to move the edge upwards

barnDoorLeft : float

Left edge of Dynamic Blend barndoor; increase this to move the edge rightwards

barnDoorRight : float

Right edge of Dynamic Blend barndoor; increase this to move the edge leftwards

barnDoorTop : float

Top edge of Dynamic Blend barndoor; increase this to move the edge downwards

blur_shadow : float

Masked object blur amount

colour : Colour

The colour of the projector frustum in the visualiser

UserName: Colour

config : ProjectorConfig

Open this to enter the quick-calibration interface

UserName: Configuration

configAutoZClipping : bool

configLensShift : Vec2

configLensShiftInv : Vec2

configLookAt : Vec

configLookDistance : float

configManualZFar : float

configManualZNear : float

configPosition : Vec

configRadialDistortion : Vec

configRotation : Vec

configSkew : float

configTangentialDistortion : Vec2

configThrowRatio : float

configWarpGridSize : Int2

deformStack : DeformStack

disableAutoCalViewUpdate : bool

dseCutoffAngle : float

Dynamic Blend cutoff angle in degrees. It’s a threshold for the angle between the projector’s incidence ray and the normal vector at a pixel.
Any angle equal or larger than this will lead to zero contribution from this projector for a given pixel.
Default is 90 degrees.

dseExclude : List[Projector]

Specifies which projectors are included or excluded from this projector’s Dynamic Blend

dseExcludeList : List[Projector]

dseResolutionFactor : int

Resolution for calculating Dynamic Blend projector contributions.
Higher resolutions improve the resulting blend mask, reducing some visual artifcats such as overspill.
But this also increases the cost of calculating the blend.
Projectors should use reduced resolutions if they are affected by frequent Dynamic Blend recalculations e.g. if they target moving surfaces.
Default: 1/16th.

Options: {0: ‘1/16’, 1: ‘1/8’, 2: ‘1/4’, 3: ‘1/2’, 4: ‘Full’}

faceCullMode : int

Can optionally skip rendering faces with normals pointing away (back) or toward (front) the projector.

Options: {0: ‘None’, 1: ‘Front’, 2: ‘Back’}
UserName: Face Cull Mode

feather : float

Shrinks or grows screens in the projector’s view, to fix over-projection

UserName: Feather

fieldOfView : float (Read-Only)

gammaBias : float

Adjusts the estimate of this projector’s gamma relative to the Stage’s global Blend gamma

gridSize : float

Controls the spacing of grid lines in Grid output mode

gridThickness : float

Controls the thickness of grid lines in Grid output mode

guiState : ProjectorGuiState (Read-Only)

includeOrExclude : int

lets you either remove projectors from Dynamic Blend consideration, or forces Blend to use only a specific list of projectors

isActiveOutputModeNone : bool (Read-Only)

isAutoCalIntrinsicsUserEditable : bool (Read-Only)

isOutputNeededByGui : bool

lensDistortionMode : int

lightScattering : int

enables light scattering for this projector

UserName: Light Scattering

lightScatteringshadows : int

enables light scattering shadows for this projector

UserName: Light Scattering shadows

lineupBitmap : DxTexture

Bitmap used as quickcal lineup cursor

UserName: QuickCal reticle

lumens : float

Projector brightness, in ANSI Lumens. Affects visualiser only

UserName: Brightness (Lumens)

mask_objects : List[Object]

List of objects that this projector should render as black

mask_resolution : int

Set shadow mask resolution

Options: {0: ‘Full’, 1: ‘1/2’, 2: ‘1/4’}
UserName: Resolution

masking_scale : float

Shrinks or grows the mask objects in the projector’s view

outputBrightness : float

output brightness (lumens)

UserName: output brightness (lumens)

projectionMatrix : Mat (Read-Only)

render_mode : int

Switches the projector’s output for easier identification or testing

Options: {0: ‘Invisible’, 1: ‘Beam’, 2: ‘Wire’, 3: ‘Beam And Wire’}
UserName: Render mode

screens : List[Screen2]

List of screen surfaces that this projector should render. Other screens will not be visible in the projector.

shadows : int

enables shadows for this projector

UserName: Shadows

simulatedShutterOpen : bool

stackedProjectors : List[Projector]

Variables

FixedModeNone : Final = 0

FixedModePosition : Final = 1

FixedModePositionAndRotation : Final = 3

FixedModeRotation : Final = 2

getSupportedOutputModeNames : Callable

getSupportedOutputModes : Callable

getSupportedRenderModeNames : Callable

Methods

addScreen(self, s: Screen2)

addStackedProjector(self, proj: Projector)

clearWarpsAndMasks(self)

configSetFixedMode(self, mode: int)

editingConfig(self, onOff: bool)

editingProjector(self, onOff: bool)

getSurfaceMask(self, screen: Screen2) -> DxTexture

hasFeedAssigned(self) -> bool

hasStackedProjectors(self) -> bool

isStackedProjector(self) -> bool

mainProjector(self) -> Projector

nScreens(self) -> int

onCloseConfigEditor(self)

onOpenConfigEditor(self)

onStackedProjectorsUpdated(self)

preferredOutputMode(self, mode: int)

removeScreen(self, s: Screen2)

renderMode(self, value: int)

renderStage(self, resolution: Int2, viewTarget: DxTexture)

setSurfaceMask(self, screen: Screen2, mask: DxTexture)

updateStackingWarp(self)