Repository navigation
Releases
Lithophane v0.1.0
Photosensitivity note. Lithophane adds no flashing of its own, but it lifts a clip's black to a warm glow, so a dark clip's pulses can come out as large changes of brightness. At its defaults, over Resolume's 33 demo clips, one dark pulsing clip (NeonRoom2_32) went over three flashes a second through it, and two more reached the line; at the brightest Back Light none passed it. Flashing light can trigger seizures in people with photosensitive epilepsy. The user guide has the measurements and how to keep a show within the guidance.
The first release of Lithophane: your clip carved into a backlit porcelain plate, for Resolume Arena and Avenue. SW Lithophane (LP01, an effect) carves the clip into a plate of unglazed porcelain, thick where the picture is dark and thin where it is light, and shines a lamp through it.
The one idea. Nothing is drawn: it all comes out of the thickness. Each column of the plate passes exp(−k d) of each colour, with k measured for three Japanese porcelain bodies (Sugiyama et al.), red further than blue, so a white lamp comes through warm and the thick shadows go redder. The light scatters inside the porcelain, so every point of the lamp side comes out of the front as a soft spot whose size follows the multipole diffusion profile of the thickness it crossed: dark detail is blurred more than bright detail as well as darkened. Turn Back Light down and Front Light up and the same plate is a white relief, lit by Lambert's law from a lamp you place, with thin places reading a little darker, so it carries a faint negative of the picture. Nothing moves with time.
Controls: Plate (Thinnest 0.5–3 mm, Thickest 0.5–6 mm; Material: Porcelain, Feldspar Porcelain, Clay Porcelain or White PLA for a printed lithophane; Mapping: Linear Depth, as 3dp.rocks' generator carves, or Linear Light, as Cura's; Relief Side: Facing Viewer or Facing Lamp; Plate Width 20–400 mm), Light (Back Light 0–16, Front Light 0–2, Light Angle, Light Elevation), Look (Mix). The defaults are a 100 mm plate 0.8 to 3 mm thick, Porcelain, Linear Depth, lit from behind at Back Light 7.2146 (set on Resolume's own 33 demo clips) in a dark room. Relief Side only shows under front light: under back light the model can't tell which face is carved.
Downloads: a universal macOS build (Apple silicon and Intel) as a .dmg or .zip, and a Windows x64 installer (-setup.exe) or .zip, each with ATTRIBUTIONS.md. The macOS build is Developer ID-signed and notarised minutes after publication; if macOS refuses a download, it's from before that, so download it again. The Windows build isn't signed, so SmartScreen warns once (More info → Run anyway). The installer offers Documents\Resolume Arena\Extra Effects (or Avenue's on a machine that only has Avenue).
What is measured (offline, by tools/verify.sh on an Apple Silicon Mac under macOS 26, driving the plugin's own class in a headless GL context at 1280×720 and 320×180, and again on Apple's software renderer):
- The absorption. On flat cards of eight codes, four materials and both mappings, every channel's fitted slope equals −k to four decimals (Porcelain 0.9000 / 1.0100 / 1.4200 per mm), red > green > blue everywhere.
- The scattering. One-pixel lines through 0.6 to 3 mm of a 6 mm plate blur by exactly the multipole profile's predicted radius to the third decimal, along x and along y (0.517 mm for 0.6 mm, 1.516 mm for 3 mm); their L1 distance from the true kernel's response is 0.0006–0.0008 of the light, against tolerances of 0.0136–0.0158.
- The front light. The relief shades by Lambert's law to 1e-6 (opposite ramps 0.678878 against 0.678877), and thin over thick equals Kubelka–Munk to five decimals.
- The rest. Flat to the frame's edges within 4.5e-7 at every Plate Width; Mix 0 hands the clip back bit for bit; no state, so a resize or a host clock jumping back changes 0 values; the host's GL state comes back untouched; NaN, infinities and 10³⁰ in the clip render as their tamed copy.
- The checks can fail. 16 deliberately wrong models each fail their check, and 54 one-character mutants of the shipped GLSL and C++ are all caught. All 11 valued controls change the picture.
In Resolume. On Windows, the fleet's Arena gate ran the release workflow's own Windows build of the registered tree in Arena 7.27.1 on win-lab, on software rendering with no GPU and no sound device: the DLL loads and registers (LP01, an effect), all 17 controls (with Arena's Opacity) match their names, order, types, ranges and defaults, it renders, and Arena's log stays clean: 9 passed, 0 failed, 0 skipped. All 12 valued controls changed Arena's picture (Relief Side, Light Angle and Light Elevation with the lamp in front). On a Mac, in Resolume Arena 7.29.0 on Apple Silicon, the same run's universal bundle loads and lists SW Lithophane with all 16 controls, defaults and option names as declared. Over a still test card on a layer added on top of a show: nothing moves when nothing is touched, every control changed the picture, Relief Side did nothing under back light alone (as the model says) and changed it front-lit, and Mix 0 matched the bare clip exactly.
What isn't verified, or is a limit. Never compared with a real lithophane: every check is against the published measurements and the diffusion model, not a photographed plate. Never through a show, on real footage in Resolume, or on a GPU on Windows; nothing timed inside Resolume; Avenue not tried. Chosen, not measured: the absorption taken from the measured apparent coefficient, White PLA's coefficients and scattering, one wavelength per channel, the front lamp's default direction. The column approximation: each column spreads its own light by its own thickness's profile, so light crossing between columns is left out, and with it any difference between the relief sides under back light. White PLA is over-blurred (about a third of its light comes through nearly straight, which a diffusion model can't carry). The front-lit reflection isn't blurred and the relief casts no shadows. At the default Back Light about half of Resolume's demo clips clip in red, and Feldspar Porcelain and White PLA come out nearly white (turn Back Light down for them). Open questions decided for this release but not settled: dropping the widest blur scales (kept); which face is carved (Facing Viewer, as the printing guides put it); White PLA's blur; a gentler Back Light default; blur and shadows on the front-lit relief.
Cost, on an Apple Silicon Mac, GPU time a frame at the defaults: 2.17 ms at 720p, 4.13 ms at 1080p and 10.49 ms at 4K; with the most passes (Plate Width 20 mm, Thickest 6 mm, Front Light on) 1.99 ms at 720p and 4.54 ms at 1080p. Resolume itself was not timed.
Not done. No presets and no OpenFX port.
- User guide: https://stoatworks-labs.com/software/lithophane/guide/
- Project page: https://stoatworks-labs.com/software/lithophane/
- Browser demo: https://lithophane-demo.stoatworks-labs.com/