Skip to content

Releases

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 10:59

The first release of Carousel: two Kodak slide projectors on a dissolve unit, for Resolume Arena and Avenue, as one FFGL mixer, SW Carousel (CA01). The layer below is projector A's slide and the layer you set it on is projector B's; the layer's fader is the dissolve fader. Put one clip on a layer and the next on the layer above, set the upper layer's Blend Mode to SW Carousel, and pull the fader or press Take.

Photosensitivity. SW Carousel doesn't flash on its own: a slide change on the lit projector is one dark gap, at most once a second. But it cuts as fast as you cut. Cutting between contrasting slides more than about five times a second with Time at 0 to 0.1 s, by Take, the layer's fader or anything mapped to them, crosses three flashes a second over the whole frame. Measured through the harness, Take at Time 0 between white and black is three flashes a second at five presses a second and three and a half at six; from Time 0.25 s up it never crosses. The README's "Flashing" section and the user guide give the rates.

The one idea. Nothing is drawn. Each projector's light is a 300 W, 82 V projection lamp (an EXR, 3350 K), its filament's temperature integrated every frame from its heat balance, and its light and colour are Planck's law at that temperature summed against the CIE 1931 colour-matching functions. So a dissolve on a plain rheostat sags to about a ninth of one lamp's light at 2457 K halfway, and the shaped Light curve keeps the level but still warms, to 3077 K. At Time 0 the voltages switch at once but the filaments can't: a cut is a quick crossfade, the incoming lamp at half its light 13 frames after the cut at 60 fps. Change A and Change B run the projector's one-second shutter cycle, and a cold card-mounted slide opens out of focus and drifts in as it warms in the beam; glass mounts don't pop.

Controls: Screen (Linear Light); Dissolve (Opacity, Take, Time from 0 to 16 s, Curve: Voltage or Light); Lamps (Lamp: High or Low, the Ektagraphic's LO position); Slides (Mounts: Card or Glass, Pop from 0 to 1 mm, Change A, Change B). Opacity is the layer's opacity fader: in Resolume it's the dissolve. Linear Light is the parameter Arena hides on every mixer; it's on and stays on. The defaults are Time 2 s, Curve Voltage (the sag is the idea), Lamp High, Card mounts and Pop 0.55 mm, the median of what halves a fresh slide's detail over Resolume's demo clips.

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 plugin goes in Documents/Resolume Arena/Extra Effects (yes, a mixer too). 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 about the installer.

What is measured (offline, by tools/verify.sh on an Apple M4 Max under macOS 26, driving the plugin's own class in a headless GL context with two inputs, at 640×360 and 320×180 and again on Apple's software renderer, all 47 checks on the released tree; the full run on 17 November, the software renderer's 14 included, passed all 60, and nothing that draws has changed since):

  • The lamps. Every frame of a cut and a dissolve matches the harness's own model of the two filaments, every channel, within a derived tolerance (the closest 2.43e-7 off in gain). The colour temperature read back out of the picture is the filament's to 0.0005 K, and a voltage dissolve's middle sags to 0.1139 of one lamp's light at 2457 K.
  • The edges of it. A cut at Time 0 leaves the frame at the cut bit for bit the frame before it; one projector alone at rest gives its slide back with no value changed; the shutter's cycle and the pop's spread are the model's every frame, and the slide's warming time fitted from the picture is 3.00000 s against the stated 3 s.
  • The checks can fail. Nineteen deliberately wrong versions of the plugin each fail their checks, and all 35 one-character mutants of the shipped GLSL and C++ are caught. All 10 controls change the picture. The bundle is universal, and oxbow reads SW Carousel / CA01 / mixer / 2 inputs.

In Resolume. On a Mac, in Arena 7.29.0 on an M4 Max, over Arena's REST API with the plugin's own log: it registers as CA01 in category 2 (a mixer), is offered as a Blend Mode, shows 14 of its 15 parameters with Linear Light the one hidden, and takes its Opacity from the layer's fader (and overrides a direct write). Arena's composition snapshot matches what the harness renders for the same inputs to the code value. Take and Change A worked when pressed over REST and held for 0.3 s (a press released after 50 ms didn't reach the plugin). On Windows, in Arena 7.27.1 on Mesa's software renderer (no GPU), the DLL from this release's own zip did the same: registered as CA01 in category 2, showed the same 14 parameters, took Opacity from the fader and overrode a direct write, and gave the same composition snapshot as the Mac to the code value at faders 0.3 and 0.5; Take and Change A worked when held. Before that, tools/wincheck.ps1 loaded the DLL this workflow builds as a host does: SW Carousel, CA01, a mixer, two inputs, 15 parameters.

What isn't verified, or is a limit. It has only met still test pictures in Resolume: no slide show, no show, and nothing timed there. Arena hands the layer below premultiplied, on the Mac and on Windows (measured: its composition snapshot matched a premultiplied Dest exactly) and this version takes it as straight alpha, so a partly transparent layer below is darkened twice; opaque clips, and clips flattened onto black, are exactly right. The lamp is a textbook grey-body filament sized for an EXR, never compared with a real lamp; the shutter's timing within its cycle, the slide's 3 s warming time and the dark lamp's 700 K preheat are chosen, not measured; the pop is the same across the frame; there is one lamp type and no still mode. The harness has run on one Apple GPU and Apple's software renderer only, and Arena on Windows only on Mesa's software renderer.

Cost, wall-clock with the GPU finished on an Apple M4 Max: about 0.03 ms a frame at any size with the slides in focus; with both slides just changed at Pop 1 mm, 0.4 / 1.1 / 7.9 ms at 720p / 1080p / 4K for the seconds they're out of focus. At 4K the two blur buffers hold about 265 MB of GPU memory between them (arithmetic, not measured).

Licence. The code is MIT. The CIE 1931 colour-matching functions it ships (tools/data/ciexyz31_1.csv) and the table baked from them (source/Cmf.h) are the CIE's, under CC BY-SA 4.0 (doi:10.25039/CIE.DS.xvudnb9b); ATTRIBUTIONS.md has the details.

Not done. No presets, no OpenFX port and no still mode.