Skip to content

Box T3D

Summary

The Box T3D fills the volume with a box. Scale sets its size along each axis and Uniform Scale scales it as a whole; Radius rounds its edges and corners, up to a sphere.

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 - Box Page

Radius Radius - Rounds the edges and corners. 0 is sharp; 1 makes a cube into a sphere. Float · default 0

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. 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 shape. 0 is the centre of the volume; 0.5 moves the shape's centre to a face. Float × 3 · default 0

Rotate R1 R2 R3 ⊞ - Rotates the shape, in degrees. Float × 3 · default 0

Scale Sx Sy Sz ⊞ - The size of the box along each axis. Float × 3 · default 1

Pivot Px Py Pz ⊞ - The point to rotate and scale around. 0 is the centre of the volume. Float × 3 · default 0

Uniform Scale Scale - Scales the box as a whole. The default makes a cube half as wide as the volume. Float · default 0.5

Fill Color Fillcolorr Fillcolorg Fillcolorb ⊞ - The colour inside the shape. RGBA × 3 · default 1

Fill Alpha Fillalpha - The alpha inside the shape. Float · default 1

Background Color Bgcolorr Bgcolorg Bgcolorb ⊞ - The colour outside the shape. RGBA × 3 · default 0

Background Alpha Bgalpha - The alpha outside the shape. Keep it at 0 to combine shapes cleanly. Float · default 0

Pre-Multiply RGB by Alpha Premultrgbbyalpha - Multiplies the colours by their alpha, as TOPs usually expect. Toggle · default On

Softness Softness - How soft the shape's edge is. 0 gives a hard edge; larger values fade it out gradually. Float · default 0.1 · min 0

Parameters - Output Page

Combine with Input Combineinput ⊞ - What the generator does with the volume connected to its input. Menu · default Composite and Set Resolution

  • 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. Menu · default Over

Swap Order Swaporder - Swaps the two sides of Operation, so the input comes first. Toggle · default Off

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 - Has no visible effect on this operator. Leave it at 1. 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 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.