Visualise Tex Coords: Difference between revisions

From Terragen Documentation from Planetside Software
Jump to navigation Jump to search
No edit summary
Redmaw (talk | contribs)
Added descriptions and example images for all settings.
Line 1: Line 1:
[[Image:drex_module_165_image_0.png|485pxpx|Visualise Tex Coords]]
[[File:VisTexCoord_00_GUI.png|none|470px|Visualise Tex Coords]]


Visualise normal and visualise tex coords are shaders which give an RGB representation of the 3D vector (the surface normal or the texture coordinates). The R value of the colour is the X component, G is Y, and B is Z. Surface normal values which range from -1 to +1 are remapped into the visible range 0 to 1.
== Overview ==
The Visualise tex coords shader gives an RGB representation of the 3D vector of the texture coordinates. The R value of the colour is the X component, G is Y, and B is Z. The texture coordinates are remapped into the visible range 0 to 1.


UV coordinates from imported geometry usually only occupy X and Y, therefore blue is usually 0. They usually range from 0 to 1. But if applied to terrain or other procedural object, tex coords are XYZ. There is a repeat option for the texture coordinates because they are not limited to just the 0 to 1 range on procedural objects; this option causes the values to repeat within the 0-1 range.
UV coordinates from imported geometry usually range from 0 to 1 and only occupy X and Y, therefore blue is usually 0. But if applied to terrain or other procedural objects, tex coords are XYZ. There is a repeat option for the texture coordinates because they are not limited to just the 0 to 1 range on procedural objects; this option causes the values to repeat within the 0-1 range.


<!-- imported from file: module_165.html-->


'''Settings: '''
<ul>
*'''Name: ''' This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Visualise tex coords nodes in a project.
*'''Enable:''' When checked, the node is active and the settings below will affect the surface. When unchecked, the node is ignored.
* '''Diffuse:'''  When checked, the surface of the object or terrain is treated as diffuse. The lights within the project will illuminate it according to their position and rotation, and if “Do shadows” is enabled in the Renderer, shadows cast by these light sources will be visible on the surface.
<ul>
{|
|-
| [[File:VisTexCoord_11_Cube_Diffuse.jpg|none|266px|The Visualise tex coords node applied to ground and uv mapped cube object.  Enable unchecked.]] || [[File:VisTexCoord_12_Cube_DiffuseOn.jpg|none|266px|The Visualise tex coords node applied to ground and uv mapped cube object.  Enable checked.]] ||
|-
|[[File:VisTexCoord_13_Cube_DiffuseRed.jpg|none|266px|The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]] || [[File:VisTexCoord_14_Cube_DiffuseGreen.jpg|none|266px|The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]] || [[File:VisTexCoord_15_Cube_DiffuseBlue.jpg|none|266px|The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]]
|-
| [[File:VisTexCoord_01_DiffuseOff.jpg|none|266px|The Visualise tex coords node applied to procedural terrain.  Enable unchecked.]] || [[File:VisTexCoord_02_DiffuseOn.jpg|none|266px|The Visualise tex coords node applied to procedural terrain.  Enable checked.]] ||
|-
| [[File:VisTexCoord_03_DiffuseRed.jpg|none|266px|Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.]] || [[File:VisTexCoord_04_DiffuseGreen.jpg|none|266px|Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.]] || [[File:VisTexCoord_05_DiffuseBlue.jpg|none|266px|Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.]]
|}
</ul>
*'''Luminous:''' When checked, the surface of the object or terrain is treated as fully luminous.  The lights within the project do not affect the surface.
<ul>
{|
|-
| [[File:VisTexCoord_16_Cube_LuminousOff.jpg|none|266px|The Visualise tex coords node applied to ground and uv mapped cube object.  Enable unchecked.]] || [[File:VisTexCoord_17_Cube_LuminousOn.jpg|none|266px|The Visualise tex coords node applied to ground and uv mapped cube object.  Enable checked.]] ||
|-
| [[File:VisTexCoord_18_Cube_LuminousRed.jpg|none|266px|The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]] || [[File:VisTexCoord_19_Cube_LuminousGreen.jpg|none|266px|The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]] || [[File:VisTexCoord_20_Cube_LuminousBlue.jpg|none|266px|The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.]]
|-
| [[File:VisTexCoord_06_LuminousOff.jpg|none|266px|The Visualise tex coords node applied to procedural terrain.  Enable unchecked.]] || [[File:VisTexCoord_07_LuminousOn.jpg|none|266px|The Visualise tex coords node applied to procedural terrain.  Enable checked.]] ||
|-
| [[File:VisTexCoord_08_LuminousRed.jpg|none|266px|Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.]] || [[File:VisTexCoord_09_LuminousGreen.jpg|none|266px|Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.]] || [[File:VisTexCoord_10_LuminousBlue.jpg|none|266px|Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.]]
|}
</ul>
*'''Repeat: '''  When checked, the texture coordinate values of a procedural object, such as the terrain, will repeat within the 0 - 1 range.
<ul>
{|
|-
| [[File:VisTexCoord_21_Cube_Diffuse_RepeatOn.jpg|none|200px|The Visualise tex coords node applied to ground and uv mapped cube object.  Repeat checked.]] || [[File:VisTexCoord_22_Cube_Diffuse_RepeatRed.jpg|none|200px|Repeat checked.  The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.]] || [[File:VisTexCoord_23_Cube_Diffuse_RepeatGreen.jpg|none|200px|Repeat checked.  The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel. ]] || [[File:VisTexCoord_24_Cube_Diffuse_RepeatBlue.jpg|none|200px|Repeat checked.  Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.]]
|-
| [[File:VisTexCoord_25_LuminousOn.jpg|none|200px|The Visualise tex coords node applied to ground and uv mapped cube object.  Repeat checked.]] || [[File:VisTexCoord_26_LuminousRed.jpg|none|200px|Repeat checked.  The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.]] || [[File:VisTexCoord_27_LuminousGreen.jpg|none|200px|Repeat checked.  The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel. ]] || [[File:VisTexCoord_28_LuminousBlue.jpg|none|200px|Repeat checked.  Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.]]
|}
</ul>
</ul>
<br />
[[Category:Colour Shader]]
[[Category:Colour Shader]]

Revision as of 23:33, 18 March 2021

Visualise Tex Coords
Visualise Tex Coords

Overview

The Visualise tex coords shader gives an RGB representation of the 3D vector of the texture coordinates. The R value of the colour is the X component, G is Y, and B is Z. The texture coordinates are remapped into the visible range 0 to 1.

UV coordinates from imported geometry usually range from 0 to 1 and only occupy X and Y, therefore blue is usually 0. But if applied to terrain or other procedural objects, tex coords are XYZ. There is a repeat option for the texture coordinates because they are not limited to just the 0 to 1 range on procedural objects; this option causes the values to repeat within the 0-1 range.


Settings:

    • Name: This setting allows you to apply a descriptive name to the node, which can be helpful when using multiple Visualise tex coords nodes in a project.
    • Enable: When checked, the node is active and the settings below will affect the surface. When unchecked, the node is ignored.
    • Diffuse: When checked, the surface of the object or terrain is treated as diffuse. The lights within the project will illuminate it according to their position and rotation, and if “Do shadows” is enabled in the Renderer, shadows cast by these light sources will be visible on the surface.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable unchecked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable unchecked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable checked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable checked.
      The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The Visualise tex coords node applied to procedural terrain. Enable unchecked.
      The Visualise tex coords node applied to procedural terrain. Enable unchecked.
      The Visualise tex coords node applied to procedural terrain. Enable checked.
      The Visualise tex coords node applied to procedural terrain. Enable checked.
      Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.
      Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.


    • Luminous: When checked, the surface of the object or terrain is treated as fully luminous. The lights within the project do not affect the surface.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable unchecked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable unchecked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable checked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Enable checked.
      The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The red channel or X axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The green channel or Y axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The blue channel or Z axis of the ground and uv mapped cube object with the Visualise tex coords node enabled.
      The Visualise tex coords node applied to procedural terrain. Enable unchecked.
      The Visualise tex coords node applied to procedural terrain. Enable unchecked.
      The Visualise tex coords node applied to procedural terrain. Enable checked.
      The Visualise tex coords node applied to procedural terrain. Enable checked.
      Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.
      Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.


    • Repeat: When checked, the texture coordinate values of a procedural object, such as the terrain, will repeat within the 0 - 1 range.
      The Visualise tex coords node applied to ground and uv mapped cube object. Repeat checked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Repeat checked.
      Repeat checked. The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Repeat checked. The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Repeat checked. The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Repeat checked. The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Repeat checked. Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.
      Repeat checked. Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.
      The Visualise tex coords node applied to ground and uv mapped cube object. Repeat checked.
      The Visualise tex coords node applied to ground and uv mapped cube object. Repeat checked.
      Repeat checked. The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Repeat checked. The texture coordinates along the X axis are remapped between 0 and 1 in the Red channel.
      Repeat checked. The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Repeat checked. The texture coordinates along the Y axis are remapped between 0 and 1 in the Green channel.
      Repeat checked. Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.
      Repeat checked. Texture coordinates along the Z axis are remapped between 0 and 1 in the Blue channel.