Skip to content

Function T3D

Summary

The Function T3D applies a mathematical function to every voxel, like the Function TOP: roots, trigonometry, logarithms, powers and more. Choose one function for all channels, one for the colour, or one per channel.

Parameters - Function Page

Function RGBA Funcrgba ⊞ - One function for all four channels. Menu · default x Input

Function RGB Funcrgb ⊞ - One function for red, green and blue, when Function RGBA is Input. Menu · default x Input

Function R Funcr ⊞ - The function for red. Menu · default x Input

Function G Funcg ⊞ - The function for green. Menu · default x Input

Function B Funcb ⊞ - The function for blue. Menu · default x Input

Function A Funca ⊞ - The function for alpha. Menu · default x Input

Base Value Baseval - The base for the "Base N" functions. Float · default 2

Exponent Value Expval - The exponent for "x ^ N". Float · default 2

Constant Value Constval - The value for the Constant function. Float · default 0

Angle Units Angunit ⊞ - The unit of angles for the trigonometric functions. Menu · default Degrees

  • Degrees deg
  • Radians rad
  • Cycles cycle

Replace Errors Replace - Replaces invalid results, such as the root of a negative number, with Error Value. Toggle · default Off

Error Value Errval - The value used for invalid results. Float · default 0

Parameters - Common Page

Output Resolution Outputresolution ⊞ - Whether the output takes its size from the first input or from Resolution. With nothing connected, Resolution is always used. Menu · default Use Input

  • Use Input useinput - The same width, height and depth as the first input.
  • Custom custom - The size set in Resolution.

Resolution Resolution1 Resolution2 Resolution3 ⊞ - Width, height and depth of the output in voxels, when Output Resolution is Custom or nothing is connected. Memory grows quickly: 256 × 256 × 256 at 16-bit float is 128 MB. Int × 3 · default 64 · min 1

Input Smoothness Inputfiltertype ⊞ - How the inputs are sampled when their size differs from the output. Interpolate Pixels is smooth; Nearest Pixel keeps hard, blocky voxels. Menu · default Interpolate Pixels

  • Nearest Pixel nearest
  • Interpolate Pixels linear
  • Mipmap Pixels mipmap

Passes Npasses - Has no visible effect on this operator. Leave it at 1. Int · default 1

Pixel Format Format ⊞ - The output's pixel format. Use Input copies the first input's. Choose a float format for values outside 0–1: negative numbers, distances, velocities, or densities above 1. With nothing connected, Use Input gives 8-bit. Menu · default Use Input

Bypass Bypass - Passes the first input through unchanged. Toggle · default Off

Version Version - The T3D version of this operator. Mention it when reporting a problem. Str

Help Help - Opens this operator's page in the T3D documentation. Pulse

Operator Inputs

  • Input 0: Input T3D_in1 - The volume to process.
  • Input 1: Input 2 T3D_in2 - Meant for the second value of two-value functions; not used in this version.

Operator Outputs

  • Output 0: Output T3D_output - The result.