Skip to content

Displace T3D

Summary

The Displace T3D moves the content of the first volume by the values of the second: each voxel's red, green and blue push it along X, Y and Z. Use a velocity from Fluid T3D, or a noise, to warp a volume.

The displacement map needs positive and negative values to push in both directions: use a float volume, or offset a noise by −0.5. By default the Transform page moves the displacement map, not the volume being displaced.

Parameters - Displace Page

Strength Strength - How far the volume is pushed. Float · default 1

Parameters - Transform Page

Size Size ⊞ - Which input sets the output's size. The Transform page moves the other one. Menu · default Input 2

  • Input 1 input1
  • Input 2 input2

Pre-Fit Overlay Prefit ⊞ - How the placed input is fitted to the output, as in the Composite TOP: stretched to fill, fitted along one axis keeping its proportions, fitted inside or outside, or at its native size. Menu · default Fill

  • Fill fill
  • Fit Horizontal fithorz
  • Fit Vertical fitvert
  • Fit Depth fitdepth
  • Fit Best fitbest
  • Fit Outside fitoutside
  • Native Resolution nativeres

Justify Horizontal Justifyh ⊞ - Horizontal alignment, when Pre-Fit Overlay is Native Resolution. Menu · default Center

  • Left left
  • Center center
  • Right right

Justify Vertical Justifyv ⊞ - Vertical alignment, when Pre-Fit Overlay is Native Resolution. Menu · default Center

  • Bottom bottom
  • Center center
  • Top top

Justify Depth Justifyd ⊞ - Alignment in depth, when Pre-Fit Overlay is Native Resolution. Menu · default Center

  • Back back
  • Center center
  • Front front

Extend Overlay Extend ⊞ - What the placed input shows beyond its own edges. Menu · default Zero

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

Aspect Correction Aspectcorrection - Keeps rotations undistorted when the volume is not a cube. Toggle · default On

Transform Order Xord ⊞ - The order in which scale, rotate and translate are applied. Menu · default Scale Rotate Translate

  • Scale Rotate Translate srt
  • Scale Translate Rotate str
  • Rotate Scale Translate rst
  • Rotate Translate Scale rts
  • Translate Scale Rotate tsr
  • Translate Rotate Scale trs

Rotate Order Rord ⊞ - The order of the rotations. Menu · default Rx Ry Rz

  • Rx Ry Rz xyz
  • Rx Rz Ry xzy
  • Ry Rx Rz yxz
  • Ry Rz Rx yzx
  • Rz Rx Ry zxy
  • Rz Ry Rx zyx

Translate Tx Ty Tz ⊞ - Moves the placed input. 0.1 moves it a tenth of the volume's size along that axis. Float × 3 · default 0

Rotate R1 R2 R3 ⊞ - Rotates the placed input, in degrees. Float × 3 · default 0

Scale Sx Sy Sz ⊞ - Scales the placed input along each axis. Float × 3 · default 1

Pivot Px Py Pz ⊞ - The point to rotate and scale around. 0.5 is the centre. Float × 3 · default 0.5

Uniform Scale Scale - Scales the placed input uniformly. Float · default 1

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: Source T3D_in1 - The volume that is moved.
  • Input 1: Displacement Map T3D_in2 - How far to move each voxel, along X, Y and Z in its red, green and blue.

Operator Outputs

  • Output 0: Output T3D_output - The combined volume.