Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width62%

Texture mode – Specifies whether to use one or three textures for the different projection axes. For more information, please see the Texture mode example below.

Same texture on all axes – Projects the same texture along each local axis.
Different texture on each axis – Uses a different texture along each axis.

Texture X – The texture to project along the X axis when the texture mode is set to Different texture on each axis.

Texture Y – The texture to project along the Y axis when the texture mode is set to Different texture on each axis.

Texture Z – The texture to project along the Z axis when the texture mode is set to Different texture on each axis.

ScaleSize – Adjusts the size of the texture. Note that it is dependent on the scene units. If the scene units are changed, the value of the Size parameter changes automatically, and the render remains the same. For more information, please see the Scale example below.Size example below.

UI Text Box
typenote

The Scale parameter is deprecated and replaced with the Size parameter.

When opening an old scene, the Scale parameter is automatically converted to the Size parameter. However, if there is a texture attached to it, the parameter is not converted. You can reattach the texture but it might need further tweaking.

Blend – Controls the blend between the different projections. Lower values produce sharper transitions between projections. For more information, please see the Blend example below.

Frame offset – Moves the point relative to which the textures are projected. 

Texture Rotation – Specifies rotation (in degrees) for the projected textures around the respective projection axis. If random texture rotation is enabled, non-zero components of this parameter specify increments for the rotation. For more information, please see the Texture Rotation example below.

Space – Specifies the type of projection space:

Local object – The projection is done in local object space. When the object is moved/rotated/scaled, the texture moves with it. 
Reference transform 
– The projection is done in the local space of another node in the scene. If no node is specified, world space is used. This mode is useful when several objects need to be mapped with the same triplanar texture and to show consistent mapping.

Composition – Available when the Space parameter is set to Reference transform.

Matrix Available when the Space parameter is set to Reference transformNode Ref transform – If Space is set to Reference transform, this specifies the node from the scene. If no node is specified, world space is used.

Random texture offset – Randomizes the texture offset based on the Random mode.

Random texture rotation – Randomizes the texture rotation based on the Random mode. The rotation can be locked to specific increments (i.e. 45 degrees only, or 90 degrees only) by setting the Texture Rotation components to the desired increments for the different axes.

Random axis – Randomly changes the projection axes based on the Random mode.

Random frame rotation – Randomly rotates the entire projection space based on the Random mode.

Random mode  Specifies how to generate the random seed needed for the various randomizations: For more information, see the Randomizations example below.

By face ID – Computes the seed based on the face material ID of the mesh. 
By render ID 
– Computes the seed based on the render ID of the objects.

Column
width5%

 

Column
width33%

Image Modified

 

 

Anchor
textMode
textMode

...

Section
Column
width10%

 

Column
width40%

Texture mode = Same texture on all axes


Column
width40%

Texture mode = Different texture on each axis
and different textures were specified for the X, Y, Z axes

 

Column
width10%

 

 

Anchor
scale
scale

...


Example:

...

Size



Section
Column
width5%

 

Column
width30%

Scale Size = 0.005


Column
width30%

Scale Size = 0.01


Column
width30%

Scale Size = 0.02


Column
width5%

 

 

Anchor
blend
blend

...

Section
Column
width20%

no randomizations

 

Column
width20%

Random texture offset is enabled

 

Column
width20%

Random texture rotation is enabled

 

Column
width20%

Random frame rotation is enabled

 

Column
width20%

Random axis is enabled 

 

Advanced Workflow Tips

...

The following examples provide some details on how to maximize the capabilities of the Triplanar Texture with workflow tips and tricks.

...

In this example, we'll use a Locator's World Matrix values with the Triplanar's Reference transform space so when the Locator is rotated, it rotates the texture as well. This helps get around the fact that some of the texture's attributes like Scale Size and Blend do not include Create Render Node buttons to the right of their value sliders. Keys can still be set directly on these attributes but using the World Matrix attributes connected to the Triplanar's Node Ref Transform helps adjust the textures for us. Using this method with the Locators is much more artist/animator-friendly than setting keys on multiple parameters buried deep inside a shading network. In the examples below,   the Locators adjust the textures rotation and scale size of the texture, but this can be applied to other forms of transform adjustments.

...

In this second series of images, the scale size of the Locator is adjusted when the camera moves closer or further from the planters. This can help the textures to be more readable from a distance. In the node graph, we divide the scale size value to keep it in the typical range for this attribute and then drive it from a second Locator.

...

Section
Column
width10%

 

Column
width40%


Based on the original scale size from the initial render, the camera is twice as far from the center planters and the Locator's scale size is increased to 2

 

Column
width40%


In this render, the camera is half the distance of the initial render, therefore, the Locator's scale size is reduced to 0.5 (which also reduces the bump amount)

 

Column
width10%

 

...