Skip to content
Docs
Open Promoeyes

torusknot

scenesset 44× in templates and rigs

A (p, q) torus-knot mesh, the classic body for showing off a material and a shaped light: its surface turns through every orientation. Its material comes from its own attributes (`material=<name>`, `fill`, `metalness`, …), not a nested `material`.

torusknot#s31-knot(r=110 tube=36 tubular_segments=200 radial_segments=24 material=gold position="360 0 0" rotation="20 0 0")

Attributes

rnumberRadius of the knot, mm.44×
tubenumberRadius of the strand, mm.44×
position"x y z"43×
materialtexte.g. thinfilm-plumphysicalclearcoat41×
radial_segmentsnumberSegments round the strand (default 16).40×
tubular_segmentsnumberSegments along the strand (default 128).40×
attenuation-colorcolour #rrggbb4×
attenuation-distancenumber4×
clearcoatnumber4×
clearcoat-roughnessnumber4×
envmap-intensitynumber4×
fillcolour #rrggbb4×
iornumber4×
metalnessnumber4×
pnumberHow many times the strand winds round the knot's axis (default 2).4×
qnumberHow many times it winds through the hole (default 3; 2 and 3 make the trefoil).4×
roughnessnumber4×
thicknessnumber4×
transmissionnumber4×
rotation"x y z"2×
matchtexte.g. m31×
look_attextTurns the node every frame so its face (+z; a device's screen, a laptop's front) points at a target: a point `x y z` (mm, world), `#node-id` (that node, live) or `camera` (the lens, live). Its `rotation` and rotation keys are an offset on top of the aim.0×
uptextWith `look_at`: the world direction kept as the node's up, `x y z` (default `0 1 0`).0×

Where it goes

Examples

torusknot#s31-knotin backgrounds/auroraOpen and play →
torusknot#s31-knot(r=110 tube=36 tubular_segments=200 radial_segments=24 material=gold position="360 0 0" rotation="20 0 0")
  position
    0 0 0 -500
    1.6 easeInOutSine 0 0 500
    3.2 easeInOutSine 0 0 -500
    4.8 easeInOutSine 0 0 500
    6.4 easeInOutSine 0 0 -500
    7 0 0 -500
  rotation
    0 0 0 0
    7 0 540 0
torusknot#s03-knotin effects/clippingOpen and play →
torusknot#s03-knot(r=96 tube=28 p=2 q=3 position="0 -26 0")
  rotation
    0 0 0 0
    7 linear 20 200 0
  clip(axis="-y" feather=22 edge=#ff7a3d edge-width=6)
    0.4 -145
    3.2 easeInOutCubic 145
    4.2 145
    6.8 easeInOutCubic -145
torusknot#s06-localin effects/clippingOpen and play →
torusknot#s06-local(r=88 tube=27 p=2 q=3 position="-240 6 0")
  rotation
    0 0 0 0
    8 linear 0 0 360
  clip(axis="-y" feather=6 edge=#35e0ff edge-width=3)
    0 10