Skip to content

Subtract T3D

Summary

The Subtract T3D subtracts the second volume from the first. Use a float Pixel Format to keep negative results.

Size picks which input sets the output's size; the other input is placed into it and can be fitted, moved, rotated and scaled on the Transform page. Inputs of different sizes line up by their extent. See Combining volumes.

Parameters - Transform Page

Size Size ⊞ - Which input sets the output's size. The other input is placed into it and can be moved with the transform parameters. 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: Input 1 T3D_in1 - The first volume.
  • Input 1: Input 2 T3D_in2 - The second volume. By default it sets the output's size.

Operator Outputs

  • Output 0: Output T3D_output - The combined volume.