Documentation / Node reference / geo nodes

geo/SDFTube

Creates an SDF cylinder or cone with flat caps.

Sdf Primitives

Creates a tube as SDF geometry, its axis along Y and both ends flat: a cylinder by default, a cone frustum when the bottom gets its own radius, and a true cone when that radius is 0. The params match the mesh-side geo/Tube. Wire it to the geo/Output node to see it raymarched, or compose it with other SDF objects through geo/SDFBoolean, geo/SDFRepeat and geo/Transform. Dragging the params never recompiles the preview shader, though switching useBottomRadius does. For fields beyond the wrapper primitives, use geo/SDFBuilder and the code/SDF* library.

Parameters

Name Type What it does
t Vector3 Tube center.
height Float Full length along the axis: the tube spans half of it above and below the center.
radiusTop Float Radius of the top cap. Also the radius of the whole tube unless the bottom gets its own.
useBottomRadius Bool Give the bottom its own radius: different from the top makes a cone frustum, 0 makes a cone.
radiusBottom Float Radius of the bottom cap, read only when useBottomRadius is on.

Examples

Scenes you can open in the editor that teach this node.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.