Contents

Place 2D

Transforms UV texture coordinates for 2D texture placement.

Parameter Types

Parameter descriptions

Texture Coordinates

The input texture coordinates to transform. The default value is the current surface texture coordinates with an index of 0.

Pivot

The pivot point for scaling and rotating the texture coordinates. The node subtracts this value from U and V before it applies the scale or rotation. The node then adds this value back later.

Scale

The value by which to scale the texture coordinates. The node divides the U and V coordinates by this value. The default is (1,1).

Rotate

The number of degrees to rotate the texture coordinates. A postive value rotates the texture coordinates by that many degrees counterclockwise and the resulting image clockwise. A negative value rotates the texture coordinates by that many degrees clockwise and the resulting image counterclockwise. The default value is 0.

Offset

The value to offset the position of the texture coordinates. The node subtracts this value from the texture coordinates after scaling and rotating it, and adding back the pivot. The default is (0,0).

Discussion

Use the Place 2D node to transform texture coordinates and apply these basic transformations to textures. Below is an example of a simple node graph that uses the Place 2D node to transform texture coordinates before passing them to an image node:

[Image]

The incoming texture coordinates transform in three ways; they are:

  • scaled down to half the size

  • rotated 180 degrees

  • offset by 0.5 in both the U and V directions. For the scale and rotation, the pivot point is set to (0.5, 0.5). Because texture coordinates generally range from (0-1), this means the scale and rotation are done from the center point of the image.

Below is the original image and the texture with the transformation applied:

See Also

Nodes