polyhedron
scenesset 155× in templates and rigs
A regular polyhedron mesh (by `kind`, e.g. an octahedron) of radius `r`.
polyhedron#land(match=land kind=icosahedron r=20000 detail=64 material=physical side=double roughness=0.5 metalness=0.2)
Attributes
kindtexte.g. icosahedronoctahedron155×materialtexte.g. metalglassphysical155×rnumber155×detailnumber154×position"x y z"108×rotation"x y z"20×metalnessnumber14×roughnessnumber14×matchtexte.g. land12×sidetexte.g. double12×envmap-intensitynumber2×cast_shadowtrue / false1×colorcolour #rrggbb1×dispersionnumber1×emissivecolour #rrggbb1×emissive-intensitynumber1×fillcolour #rrggbb1×flat-shadingtrue / false1×iornumber1×iridescencenumber1×thicknessnumber1×transmissionnumber1×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
polyhedron#landin backgrounds/band-fieldOpen and play →polyhedron#land(match=land kind=icosahedron r=20000 detail=64 material=physical side=double roughness=0.5 metalness=0.2)
bands(along=normal sample=normal seed=1 speed=0.3 flow="1 1 1")
1.6 17600 0
mix(u=y v=radius accent=#af38ff brightness=1.5)
0 #910aff
1 #809bd6
polyhedron#landin backgrounds/band-fieldOpen and play →polyhedron#land(match=land kind=icosahedron r=26000 detail=48 material=physical side=double roughness=0.42 metalness=0.25)
bands(along=normal sample=normal seed=5 speed=0.07 flow="1 1 1")
1.15 17000 0
mix(u=y v=radius accent=#ffbe0b brightness=1.45)
0 #ff206e
1 #41008a
polyhedron#landin backgrounds/band-fieldOpen and play →polyhedron#land(match=land kind=icosahedron r=13000 detail=64 material=physical side=double roughness=0.55 metalness=0.15)
bands(along=normal sample=normal seed=12 speed=0.16 flow="1 1 1")
2.2 4200 1
4.4 2100 1
8.8 1050 1
17.6 520 1
35.2 260 1
mix(u=y v=radius accent=#f15bb5 brightness=1.5)
0 #00f5d4
1 #073b4c
Used in
Templates that write polyhedron; each opens at its first use.
