Skip to content

Lookup T3D

Summary

The Lookup T3D replaces each value by a colour from a table, like the Lookup TOP: connect a Ramp TOP as the second input to turn a density into colours, such as a fire gradient. A CHOP can serve as the table instead.

Parameters - Lookup Page

Method Method ⊞ - Whether the table is the second input or a CHOP. Menu · default 2nd TOP Input

  • 2nd TOP Input secondinput
  • CHOP Values chop

Index Range Index1 Index2 ⊞ - The range of values that spans the table. Float × 2 · default 0, 1

Index Channel Channel ⊞ - Which value picks the colour. RGBA Independent looks up each channel on its own. Menu · default RGBA Independent

Independent Alpha Independentalpha - Has no effect in this version. Toggle · default Off

Darkuv Darkuv1 Darkuv2 Darkuv3 ⊞ - Where in the table the lowest value reads. Float × 3 · default 0, 0.5, 0

Lightuv Lightuv1 Lightuv2 Lightuv3 ⊞ - Where in the table the highest value reads. Float × 3 · default 1, 0.5, 0

Extend Inputextenduv ⊞ - What values beyond the table's ends read. Menu · default Zero

  • Hold hold
  • Zero zero
  • Repeat repeat
  • Mirror mirror

CHOP Chop - The CHOP used as the table. CHOP

Clamp CHOP Values Clampchopvalues - Keeps the CHOP's values within 0–1. Toggle · default Off

Output Lookup Displaylookup - Shows the table itself across the volume, to check it. 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 - Repeats the operation this many times, each time on the previous result. 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: Index lookup - The volume whose values pick colours from the table.
  • Input 1: Table source - The colours: a Ramp TOP, any 2D image, or a volume.

Operator Outputs

  • Output 0: Output T3D_output - The coloured volume.