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.
Parameters - Transform Page¶
Size Size ⊞ - Which input sets the output's size. The Transform page moves the other one.
- 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.
- 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.
- Left
left - Center
center - Right
right
Justify Vertical Justifyv ⊞ - Vertical alignment, when Pre-Fit Overlay is Native Resolution.
- Bottom
bottom - Center
center - Top
top
Justify Depth Justifyd ⊞ - Alignment in depth, when Pre-Fit Overlay is Native Resolution.
- Back
back - Center
center - Front
front
Extend Overlay Extend ⊞ - What the placed input shows beyond its own edges.
- Hold
hold - Zero
zero - Repeat
repeat - Mirror
mirror
Aspect Correction Aspectcorrection - Keeps rotations undistorted when the volume is not a cube.
Transform Order Xord ⊞ - The order in which scale, rotate and translate are applied.
- 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.
- 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.
Rotate R1 R2 R3 ⊞ - Rotates the placed input, in degrees.
Scale Sx Sy Sz ⊞ - Scales the placed input along each axis.
Pivot Px Py Pz ⊞ - The point to rotate and scale around. 0.5 is the centre.
Uniform Scale Scale - Scales the placed input uniformly.
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.
- 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.
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.
- Nearest Pixel
nearest - Interpolate Pixels
linear - Mipmap Pixels
mipmap
Passes Npasses - Repeats the operation this many times, each time on the previous result.
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.
Bypass Bypass - Passes the first input through unchanged.
Version Version - The T3D version of this operator. Mention it when reporting a problem.
Help Help - Opens this operator's page in the T3D documentation.
Copyright Copyright - Author and licence.
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.