Vector: Mapping

Node Interface

Overview

Function Alters the coordinates of a texture, allowing you to move, scale and rotate textures applied to an object
Nearest C4D equivalent Texture tag or switch to Texture mode and adjust texture

This large node is intended for use with bitmaps and procedural textures. You can use it to move a texture (e.g. when placing a decal), scale it, or rotate it. In Cinema you would get the equivalent by using the move, scale and rotate tools in texture mode, or if all you need is to offset and/or scale a texture, by using the texture tag.

Although not present in Cycles itself, we have added another node - the Texture Tag node - which is for many purposes more convenient than this node. But if you need precise adjustments, this node is extremely useful.

Settings

Note: a * symbol next to the name indicates the parameter also has an input port. A # symbol indicates that the parameter can only be changed with an input node, not in the node itself.

Mapping mode drop-down menu

This allows you to select the mode to use:

Point and Texture

For most purposes you are likely to use one of these modes. The only difference is that in Point mode, if you enter a scale value of 2, you might expect the texture to double in size. In fact its size is divided by 2. This is because mathematically this is correct, but it is not intuitive!

Texture mode uses the inputs as given, so a scale of 2 will indeed double the texture size. This is the default setting.

Vector

Behaves the same as Point mode but changes in Position are ignored - that is, the texture does not move.

Normal

This does not refer to the polygon normal. In this mode the output vector is normalized. This will not produce useful results unless the coordinate system has been changed using a Texture Coordinate tag. Experimentation is recommended!

Mapping from Object

This is a very useful feature. If you drag another scene object into this field, you can then move, scale and rotate that object and the mapping node will take the scale and rotation values from that object.

With scale, when using the Scale tool in Cinema you MUST be in Object mode, not Model mode. In Model mode the Scale tool will not change the scale, it will change the size, but this will not change the mapping node. Alternatively, you can stay in Model mode and change the scale in the object's own 'Coord.' tab (not in the coordinates manager).

Position

These are offsets from the initial texture position. The result is similar to using the Offset U and Offset V values in the Cinema 4D texture tag. A value of 0.0 represents no offset; a value of 1.0 represents an offset of 100% of the texture size in the respective axis. Negative values are possible.

Scale

This setting alters the size of the texture. In Point and Vector modes, a value of 2.0 will halve the texture size, while in Texture mode the size is double. This is the same as the Length U and Length V settings in the Cinema 4D texture tag.

Rotation

These values rotate the texture around the respective axis of the object.

Normalize

If this box is checked the values in the Min and Max settings will be normalized. That is, the value in the position, scale and rotation parameters will be adjusted to fall between the minimum and maximum values. So if the Min value is 0.0, and the Max value is 20, a value of 5 will be normalized to be 0.25 (5/20 = 0.25),

Min/Max

The minimum and maximum settings to use if Normalize is checked.

Vector *

Although you can set a specific vector here, you would normally link another node such as a Texture Coordinate node to this port.

Output

Vector

This is the transformed vector. You would normally link this to another node such as the Image Texture node.