Tube T3D¶
Summary¶
The Tube T3D fills the volume with a closed tube along the Orientation axis. Give its two ends different radii for a cone, and round its rims with the third value of Radius.
Shapes are centred in the volume and placed with the transform parameters. Softness fades the edge, and the Fill and Background colours set what is inside and outside. Connect another volume to the input to set the size, and to combine the shape with it: chaining generators builds a scene without extra operators. See Combining volumes.
Parameters - Tube Page¶
Orientation Orientation ⊞ - The axis the tube runs along.
- X Axis
X - Y Axis
Y - Z Axis
Z
Radius Radius1 Radius2 Radius3 ⊞ - The radius at the top and at the bottom (different values make a cone), and how rounded the rims are, from 0 (sharp) to 1.
Height Height - The length of the tube, as a fraction of the volume's width.
Aspect Correction Aspectcorrection - Keeps the shape's proportions when the volume is not a cube, so a sphere stays round. Off, the shape stretches with the volume.
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 shape. 0 is the centre of the volume; 0.5 moves the shape's centre to a face.
Rotate R1 R2 R3 ⊞ - Rotates the shape, in degrees.
Scale Sx Sy Sz ⊞ - Scales the shape along each axis.
Pivot Px Py Pz ⊞ - The point to rotate and scale around. 0 is the centre of the volume.
Uniform Scale Scale - Scales the shape uniformly.
Fill Color Fillcolorr Fillcolorg Fillcolorb ⊞ - The colour inside the shape.
Fill Alpha Fillalpha - The alpha inside the shape.
Background Color Bgcolorr Bgcolorg Bgcolorb ⊞ - The colour outside the shape.
Background Alpha Bgalpha - The alpha outside the shape. Keep it at 0 to combine shapes cleanly.
Pre-Multiply RGB by Alpha Premultrgbbyalpha - Multiplies the colours by their alpha, as TOPs usually expect.
Softness Softness - How soft the shape's edge is. 0 gives a hard edge; larger values fade it out gradually.
Parameters - Output Page¶
Combine with Input Combineinput ⊞ - What the generator does with the volume connected to its input.
- Set Resolution Only
res- The input only sets the size; its content is ignored. - Composite and Set Resolution
compres- The generated shape is combined with the input using Operation, so generators can be chained.
Operation Operand ⊞ - How the generated volume is combined with the input: Over, Add, Multiply, Maximum and the other operations of the Composite TOP. With Over, the new shape sits on top of the input.
Swap Order Swaporder - Swaps the two sides of Operation, so the input comes first.
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- Optional. Sets the output size and, with Combine with Input, is combined with the shape, so shapes can be chained into a scene.
Operator Outputs¶
- Output 0: Output
T3D_output- The shape as a volume.