Houdini 12 Nodes Compositing nodes

Passes the input of one of its connected inputs through, acting like an exclusive switch.

This COP passes the input of one of its connected inputs through, acting like an exclusive switch. It does not use any image cache space, nor does it cook anything.

Note

If the Input Index parameter is animated, the all input sequences must be identical in the following aspects: resolution, planes, data format, and frame range. If you require that they differ, please use a Blend COP instead with an integer blend factor. If the Input Index is not animated, the input sequences do not need to match.

Parameters

Input Index

The index of the input to pass through.

Local variables

L

Sequence length

S

Start of sequence

E

End of sequence

IL

Input sequence length

SR

Sequence frame rate

NP

Number of planes in sequence

W,H

Width and height of image

I

Image index (0 at start frame)

IT

Image time (0 at start frame)

AI

Current plane array index

PI

Current plane index

PC

Num of channels in current plane

CXRES

Composite Project X resolution

CYRES

Composite Project Y resolution

CPIXA

Composite Project pixel aspect ratio

CDEPTH

Composite Project raster depth

CBP

Composite Project black point

CWP

Composite Project white point

Examples

Load | Launch

.../examples/nodes/cop2/switch/SelectingInputs.otl

Using the Switch COP to control image network flow. This example shows how to replace empty File COPs with a warning image, and a simple example of controlling blur with a switch and defocus COP.

Examples that use this node

Example forExample name
Environment LightLoad | Launch

.../examples/nodes/obj/envlight/PortalBox.otl

Indirect LightLoad | Launch

.../examples/nodes/obj/indirectlight/TubeCaustic.otl

MantraLoad | Launch

.../examples/nodes/out/ifd/amb_occ_scene.otl

Iso OffsetLoad | Launch

.../examples/nodes/sop/isooffset/Brickify.otl

On this page

Related topics