Versions Compared

Key

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

This page provides information on the Distance Node in V-Ray for Blender.

Overview

...

width100%

Parameters

Image Removed

...

 

Distance is a V-Ray specific procedural texture that returns a different color based on a point's distance to an object(s) specified in a selection list.

UI Path

...

||Node Editor|| > Add > Textures > Distance

 

Node

...

Section
Column
width50%

Distance – Specifies

Color Mult - allows you to multiply the colors in the final result with a color or a texture

Color Offset - allows you to offset the colors in the final result with a color or a texture

Alpha Mult -  multiplier for the alpha channel

Alpha Offset - an offset for the alpha channel

Nouvw - allows you to specify UVW mapping

Distance - specifies a radius outside which all points will be given the far color.

Far Tex - the  – The color returned by the texture for points that are at a distance greater than the radius parameter from the the objects specified in the list.

Near Tex - the  – The color returned by the texture for points that are right at the edges of the object(s) specified in the list. For points that are outside or inside the objects but not exactly next to the them, the color will be determined by blending between the near color and the far color and the radius will serve as a falloff radius. 

Inside Tex - the  – The color returned by the texture for points that are right inside the object(s) specified in the list. For points that are inside the objects but not exactly next to them the color will be determined by blending between the inside color and the far color and the radius will serve as a falloff radius.

Outside Tex - the  – The color returned by the texture for points that are right inside the object(s) specified in the list. For points that are inside the objects but not exactly next to them, the color will be determined by blending between the inside color and the far color and the radius will serve as a falloff radius.

Objects -  – A list of objects that are going to be considered when calculating the colors for each point in the texture.

Column
width5%
 
Column
width45%

Image Added 

 

Parameters

...

Section
Column
width50%

Inside Separate – When Inside Separate - when this option is enabled, the near color value will be overridden by the inside color value for points that are inside the specified geometry.

Inside Solid - when  – When this option is enabled, all the points inside the specified geometry are given the inside color value and no blending is performed.

 

Outside Separate - when  – When this option is enabled, the near color value will be overridden by the outside color value for points that are outside the specified geometry.

 

Outside Solid - when  – When this option is enabled, all the points outside the specified geometry are given the outside color value and no blending is performed.

Compatibility - allows  – Allows you to match the result of the the Distance texture  texture in Blender to that in either 3ds Max or Maya. If Alpha From is set to Maya:

3ds Max – The resulting alpha of the texture is the intensity of the texture.
Maya 
The resulting alpha of the texture is the color luminescence.

Invert – When Invert - when enabled inverts the colors in final resultInvert Alpha - when enabled inverts the colors in the alpha channel.

 Alpha From – Determines how the alpha of the result is calculated:

Force 1.0 – Alpha is always 1.
Compatibility – Depends on the selected Compatibility option.
Self – The calculated alpha of the texture.

Invert Alpha Inverts the alpha channel if Invert is also enabled.

Column
width5%

 

Column
width45%

 Image Added