Versions Compared

Key

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

This page provides information about the Tri-Planar texture in V-Ray for Rhino.

 


Overview

...

Section
Column
width60%

The TriPlanar texture allows quick assignment of bitmap and other 2D textures on objects that don't have suitable UV coordinates. The texture works by projecting one or more textures along the object-space axes depending on the surface normals of the shaded object.

The texture works both for colors and bump maps.

 
Column
width5%


Column
width35%

 

 

 



UI Paths

...

||V-Ray Asset Editor|| > Textures (right-click) > Tri-Planar

...

Section
Column
width60%

Mode – Specifies whether to use the same texture on all axis, or separate textures for each axis. For more information, please see the Texture mode example below.

One Texture – Projects the same texture along each local axis.
X/Y/Z Texture Projection – Uses a different texture along each axis.
Cubic Projection – Enables projection of a different color or texture for each direction of each axis. 

Texture X – The base texture, or the texture for the X axis if the texture mode is set to different textures. When a texture is selected, it overrides the color as long as the texture checkbox is enabled. 

Texture Y – The texture for the Y axis. When a texture is selected, it overrides the color as long as the texture checkbox is enabled. 

Texture Z – The texture for the Z axis. When a texture is selected, it overrides the color as long as the texture checkbox is enabled

Texture (-X) – The texture projected along the negative direction of the X axis if the texture mode is set on Cubic Projection. 

Texture (-Y) – The texture projected along the negative direction of the Y axis if the texture mode is set on Cubic Projection

Texture (-Z) – The texture projected along the negative direction of the Z axis if the texture mode is set on Cubic Projection. 

Size – Controls the size of the projected texture. 

Blend – Controls the amount of blending at the plane seams. Lower values produce sharper transitions between projections. For more information, please see the Blend example below.

Column
width5%


Column
width35%

Image Added


...


Section
Column
width60%

Texture Transforms

Projection Space – Specifies the 3D space where the texture projection takes place:

World Space – Uses world coordinates. 
Object Space – Uses each object's local coordinates. Object Space is respected only when the geometry is defined as Block.

Offset X/Y/Z – Specifies the offset from the reference frame center (object or reference node).

Rotation X/Y/Z – Specifies the texture rotations for the three axis, in degrees, in texture space. For more information, please see the Texture Rotation example below.

Column
width5%


Column
width35%

Image Added


...


Section
Column
width60%

Randomization

Mode Mode  Specifies what to use to randomize the offset/rotation: For more information, please 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.

Texture Offset – Randomizes the texture offset in texture space. 

Texture Rotation – Randomizes the texture rotation from one object to another in texture space.

Axis – Randomly permutes the projection axes.

Frame Rotation – Random frame rotation (in object or reference space).

Column
width5%

 


Column
width35%

Image RemovedImage Added



Anchor
textMode
textMode

...

This example shows the difference in the Texture modes - the first image displays the ball with texture applied in One Texture mode, while the second one shows the X/Y/Z Textures Projection application on the ball.

Section
 
Column
width20%

Column
width60%
Before after
afterLabelX/Y/Z
beforeLabelOne
Panel
borderStylenone

Panel
borderStylenone

 
Column
width20%

 



Anchor
blend
blend

...


Example: Blend

Section
Column
width30%
 

Column
width40%
Image slider
startIndex1
Panel
borderStylenone

 Blend is 0.0

Panel
borderStylenone

Blend is 0.1 

Panel
borderStylenone

Blend is 0.3

Column
width30%
 

...



Anchor
textRot
textRot

...


Example: Texture Rotation

Section
 
Column
width30%

Column
width40%
Image slider
Panel
borderStylenone

 Texture Rotation is 0, 0, 0

Panel
borderStylenone

 Texture Rotation is 30, 0, 0

Panel
borderStylenone

 Texture Rotation is 0, 30, 0

Panel
borderStylenone

 Texture Rotation is 0, 0, 30

Column
width30%

 

...



Anchor
random
random

...

...


Example: Randomizations

...


This example shows the effect of the different randomization options; the random mode is set to By render ID.

Section
 
Column
width30%


Column
width40%
Image slider
startIndex2
Panel
borderStylenone

no randomizations

Panel
borderStylenone

  Random texture offset is enabled

Panel
borderStylenone

 Random texture rotation is enabled

Panel
borderStylenone

 Random axis is enabled

Panel
borderStylenone

Random Frame Rotation is enabled

 
Column
width30%




Multipliers

...

Section
Column
width60%

Mode – Specifies the multiplication mode of the colors.

Multiply – The color used for blending is black.
Blend Amount  The color used for blending is the one specified in the color slot.

Texture X – Blends between a color and a texture, if specified.

Texture Y – Blends between a color and a texture, if specified.

Texture Z – Blends between a color and a texture, if specified.

 
Column
width5%


Column
width35%

Image RemovedImage Added