Houdini 20.5 Nodes Copernicus nodes

UV Map by ID Copernicus node

Creates a UV Map for each connected ID island.

On this page

This operation creates a UV map from each connected UV island. This can be then used with UV Sample COP to texture the islands, or UV Transform COP to adjust their mappings.

Parameters

Mode

What should be output in each pixel.

UV Map

The relative location of the pixel in its island’s uv map is output.

Center

The center of the bounding box of the island.

Minimum

The bottom left of the bounding box of the island.

Maximum

The top right of the bounding box of the island.

Size

The size of the bounding box of the island.

UV Space

The space to define the islands in.

Texture

Texture space ranges from 0 to 1 and will be stretched to fit the bounding box.

Image

Image space ranges from -1 to 1 and will be framed to fit the bounding box, so keep pixels square.

Auto Scale

Controls if the UV Map should be scaled to fit the island’s bounding box.

U Border

When the pixel’s location lies out of the canonical range for the coordinate system (0..1 for texture, -1..1 for image), this controls how it is adjusted.

Clamp

The location is clamped to the nearest valid value.

Mirror

The location values are mirrored about the boundary.

Wrap

The location values repeat from the far side of the image.

Extend

No adjust ment is made and the locations are left unchanged, useful for recording overscan.

U Shift

Horizontal adjustment to the pixel’s location, prior to clamping by the border.

U Cycles

Multiplicative scale on the pixels horizontal location. In wrapped mode, effectively allows the creation of repeating cycles.

V Border

When the pixel’s location lies out of the canonical range for the coordinate system (0..1 for texture, -1..1 for image), this controls how it is adjusted.

Clamp

The location is clamped to the nearest valid value.

Mirror

The location values are mirrored about the boundary.

Wrap

The location values repeat from the far side of the image.

Extend

No adjust ment is made and the locations are left unchanged, useful for recording overscan.

V Shift

Vertical adjustment to the pixel’s location, prior to clamping by the border.

V Cycles

Multiplicative scale on the pixels vertical location. In wrapped mode, effectively allows the creation of repeating cycles.

Zero Negative IDs

Negative IDs normally form their own connected islands. This can be distracting if negative IDs are used for invalid IDs. This will set them to zero.

Inputs

id

An ID layer whose islands will be used for UV generation.

Outputs

uv

A UV layer storing the UV values, either in Texture or Image space. The corresponding Image Sample or Texture sample should be used.

uvscale

The effective scale factor caused by resizing the UV map is output. This can be used in the UV Sample COP to adjust the filtering to reflect the size of the islands.

See also

Copernicus nodes