Skip to content

Constant T3D

Summary

The Constant T3D fills the volume with one colour. Connected to another volume, it multiplies it by that colour by default, which tints it or masks channels; set Operation to Over to replace it instead.

Parameters - Constant Page

Color Colorr Colorg Colorb ⊞ - The colour. RGBA × 3 · default 1

Alpha Alpha - The alpha. Float · default 1

Pre-Multiply RGB by Alpha Premultrgbbyalpha - Multiplies the colour by the alpha, as TOPs usually expect. Toggle · default On

Parameters - Output Page

Combine with Input Combineinput ⊞ - What the generator does with the volume connected to its input. Menu · default Composite and Set Resolution

  • Set Resolution Only res - The input only sets the size; its content is ignored.
  • Composite and Set Resolution compres - The generated shape is combined with the input using Operation, so generators can be chained.

Operation Operand ⊞ - How the colour is combined with the input. The default Multiply tints it. Menu · default Multiply

Swap Order Swaporder - Swaps the two sides of Operation, so the input comes first. Toggle · default Off

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 - Optional. Sets the size and is combined with the colour.

Operator Outputs

  • Output 0: Output T3D_output - The colour, or the input combined with it.