Math T3D¶
Summary¶
The Math T3D does arithmetic on every voxel, like the Math TOP: negate, square, combine channels, multiply and add, remap a range of values to another, or round.
Parameters - OP Page¶
Channel Pre OP Preop ⊞ - An operation applied to every channel first.
- Off
off - Negate
negate - Positive
pos - Root
root - Square
square - Inverse
inverse
Combine Channels Chanop ⊞ - Combines all four channels into one value, written to every channel.
Channel Post OP Postop ⊞ - An operation applied to every channel last.
- Off
off - Negate
negate - Positive
pos - Root
root - Square
square - Inverse
inverse
Integer Integer ⊞ - Rounds the result.
- Off
off - Ceiling
ceiling - Floor
floor - Round
round
Parameters - Multi-Add Page¶
Pre-Add Preoff - Added before multiplying.
Multiply Gain - Multiplies every channel.
Post-Add Postoff - Added after multiplying.
Operation Op ⊞ - Premultiplies or un-premultiplies the colour by the alpha.
- No Operation
no_op - Pre-Multiply RGB by Alpha
premultrgbbyalpha - Divide RGB by Alpha
rgbdivalpha - Divide RGB by Alpha and Fill
rgbdivalphafill
Parameters - Range Page¶
From Range Fromrange1 Fromrange2 ⊞ - The range of values to remap, for all channels.
To Range Torange1 Torange2 ⊞ - The range they are remapped to.
From Range R Fromranger1 Fromranger2 ⊞ - The range to remap, for red only.
To Range R Toranger1 Toranger2 ⊞ - The range red is remapped to.
From Range G Fromrangeg1 Fromrangeg2 ⊞ - The range to remap, for green only.
To Range G Torangeg1 Torangeg2 ⊞ - The range green is remapped to.
From Range B Fromrangeb1 Fromrangeb2 ⊞ - The range to remap, for blue only.
To Range B Torangeb1 Torangeb2 ⊞ - The range blue is remapped to.
From Range A Fromrangea1 Fromrangea2 ⊞ - The range to remap, for alpha only.
To Range A Torangea1 Torangea2 ⊞ - The range alpha is remapped to.
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 - Has no visible effect on this operator. Leave it at 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.
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: Input
T3D_in1- The volume to process.
Operator Outputs¶
- Output 0: Output
T3D_output- The result.