Guide
The nodes at a glance
Laminolith ships with 66 nodes and 23 presets, with 464 parameters between them. The parameters, types, defaults, ranges and examples of each node are collected in the Laminolith reference. This chapter lists what exists, by purpose.
Modules
| Module | Contents | Count |
|---|---|---|
lamino |
The basic nodes. Reading, merging, colour, transforms, blur, channels, time, shaders | 26 nodes |
lamino/fx |
Effects. The equivalents of the After Effects and Nuke staples | 28 nodes, 23 presets |
lamino/aov |
Nodes that read data layers (depth, motion, position, UV), and nodes that use them | 5 nodes |
lamino-text |
Text, shapes, Lottie | 3 nodes |
lamino-3d |
Cameras and flat cards in 3D space | 4 nodes |
A node is a unit the engine runs directly, and it appears in the IR under its own name. A preset is a function that expands into a combination of other nodes, and the IR lists the expanded nodes. The only difference from the user's side is whether there is one id or several to point at with probe --node and the like.
By purpose
| Purpose | Nodes and presets |
|---|---|
| Reading and generating | read, aov, cryptomatte, constant, ramp, checker, fractalNoise, curlNoise, lensFlare, text, shape, lottie |
| Merging and mattes | merge (the functions such as over, screen and add, and blend, become this node), zMerge, lightWrap, matte, matteOp, withAlpha, wipe, fill |
| Colour | grade, clamp, colorspace, displayView, lut, levels, exposure, curves, hueSat, colorCorrect, colorMatrix, gradientMap, posterize, tint, tritone, monochrome, despill |
| Transforms and distortion | transform, crop, cornerPin, displace, turbulentDisplace, waveWarp, warp, lensDistort, uvMap, undistort, redistort, tile, mirror, offset |
| Blur and detail | blur, erode, directionalBlur, radialBlur, lensBlur, motionBlur, edgeBlur, unsharp, mosaic, edgeDetect, edgeExtend, roughenEdges |
| Light and texture | glow, starGlow, flash, fog, grain, vignette, rgbSplit, glitch, dropShadow, outline |
| Keying | screenKey (a basic screen key) |
| Channels | premult, unpremult, shuffle |
| Time | frameBlend, echo, temporalMedian, timeOffset, frameHold, retime, posterizeTime |
| 3D | camera, card3d, stack3d |
| Measurement and extension | measure (turns image statistics into a 1×1 image), shader (the GLSL shader node) |
When choosing an effect, look at this table before writing a shader. Particles, lightning, light sweeps, optical flow and mesh warps are deliberately not bundled. For those, write a shader for the shot or read in an asset made outside.
Data layers (AOVs)
Depth, position, normals, motion vectors and UVs are not colour, so they are read with aov, not read. No colour conversion or premultiplication is applied, and the output is a data port (connect it to the data inputs of motionBlur, fog, uvMap and zMerge).
Units and directions differ between renderers, so you declare the conventions the layer was rendered with, and the engine converts them to the internal conventions. Nothing is guessed. Without a declaration, L_AOV_UNDECLARED is reported.
| Kind | Internal convention |
|---|---|
| Depth | Distance from the camera plane, metres, infinity is +inf |
| Position, normal | World space, right-handed, Y up, metres |
| Motion | Width units, Y down, from this frame to the next frame |
| UV | 0 to 1, V down |
The procedure: check the layer names and value ranges with lamino inspect '<exr>' --stats, look up how the renderer writes them, and declare them with aov(path, { layer, kind, units, ... }). For any item you are not sure of, measure an object at a known distance with probe to confirm.
Text, shapes and 3D
- Text:
text("TITLE", { font: "$FONTS/....ttf", size, fill, position }). Fonts go under$FONTS. The string can change per frame, and.perGlyph()animates it one character at a time. Vertical text is not supported. - Shapes: made with the builders of the
shapenamespace, as inshape(shape.rect(...)).shape.roto([shape.mask(points, ...)])turns After Effects style masks into a matte. There is no tool for drawing new roto; it is for bringing in existing mask data. - Lottie:
lottie("$SHOTS/.../anim.json"). Unsupported features are skipped andL_LOTTIE_UNSUPPORTEDis reported. - 3D: read a camera file exported from Blender or Cinema 4D with
camera(), and place a flat card in 3D space withcard3d.project([x, y, z], cam)converts a 3D point to a position on screen, so 2D elements can follow a 3D point. There is no rendering of meshes, volumes or point clouds.