capsule
scenesset 769× in templates and rigs
A capsule mesh, a cylinder with rounded ends: radius `r`, `length`, with a named material.
capsule#gg3-a(match=m1 material=custom mapping=object r=46 length=110 position="-260 20 0" rotation="0 0 -18")
Attributes
lengthnumber746×materialtexte.g. thinfilmemissiveclay746×rnumber746×radial_segmentsnumber734×cap_segmentsnumber731×position"x y z"691×rotation"x y z"452×emissive-intensitynumber27×matchtexte.g. p2m1m226×emissivecolour #rrggbb23×fillcolour #rrggbb23×heightnumber23×metalnessnumber23×radiusnumber23×roughnessnumber23×cast_shadowtrue / false14×colorcolour #rrggbb9×mappingtexte.g. objectspherecylinder3×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
Written under
Examples
capsule#gg3-ain effects/gradient-glassOpen and play →capsule#gg3-a(match=m1 material=custom mapping=object r=46 length=110 position="-260 20 0" rotation="0 0 -18")
rotation
0 0 0 -18
6 0 200 -18
capsule#gg3-bin effects/gradient-glassOpen and play →capsule#gg3-b(match=m2 material=custom mapping=sphere r=46 length=110 position="0 20 0" rotation="0 0 -18")
rotation
0 0 0 -18
6 0 200 -18
capsule#gg3-cin effects/gradient-glassOpen and play →capsule#gg3-c(match=m3 material=custom mapping=cylinder r=46 length=110 position="260 20 0" rotation="0 0 -18")
rotation
0 0 0 -18
6 0 200 -18
Used in
Templates that write capsule; each opens at its first use.




