Slope T3D¶
Summary¶
The Slope T3D finds, at every voxel, in which direction the volume's red channel rises and how steeply, and writes it as X, Y and Z into red, green and blue. Normalize keeps only the direction, which turns a density or distance field into surface normals. The output has negative values: use a float Pixel Format.
Parameters - Slope Page¶
Normalize Normalize - Keeps only the direction, as normals.
Strength Strength - Scales the result.
Input Extend Mode UV Inputextenduv ⊞ - What the volume is assumed to be beyond its faces.
- Hold
hold - Zero
zero - Repeat
repeat - Mirror
mirror
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: Input
T3D_in1- The volume to process.
Operator Outputs¶
- Output 0: Output
T3D_output- The result.