Skip to content
Docs
Open Promoeyes

torus

scenesset 558× in templates and rigs

A torus (a ring) mesh: radius `r`, tube thickness `tube`, with a named material.

torus#s04-rail(r=1400 tube=6 radial_segments=10 tubular_segments=240 material=strip position="-66 -700 0" rotation="90 0 0")

Attributes

tubenumber558×
position"x y z"544×
materialtexte.g. thinfilmemissiveclay535×
rnumber535×
radial_segmentsnumber534×
tubular_segmentsnumber534×
rotation"x y z"489×
emissive-intensitynumber57×
cast_shadowtrue / false31×
emissivecolour #rrggbb24×
fillcolour #rrggbb24×
metalnessnumber24×
roughnessnumber24×
matchtexte.g. p323×
radiusnumber23×
colorcolour #rrggbb2×
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

torus#s04-railin abstract/rollingOpen and play →
torus#s04-rail(r=1400 tube=6 radial_segments=10 tubular_segments=240 material=strip position="-66 -700 0" rotation="90 0 0")
  position
    0 0 0 0
    4.5 linear 270 14 0
    6 easeOutQuad 315 16 0
torus#s15-e1in abstract/rollingOpen and play →
torus#s15-e1(r=85 tube=16 radial_segments=24 tubular_segments=96 material=metal position="-235 -20 3100" rotation="14 30 -20")
  position
    0 0 0 0
    4.5 linear -270 -14 0
    6 easeOutQuad -315 -16 0
torus#s15-e2in abstract/rollingOpen and play →
torus#s15-e2(r=85 tube=16 radial_segments=24 tubular_segments=96 material=thinfilm position="182 35 2500" rotation="-12 -34 22")
  position
    0 0 0 0
    4.5 linear 270 14 0
    6 easeOutQuad 315 16 0

Used in

Templates that write torus; each opens at its first use.