Repository navigation
Releases
Intensifier v0.1.0
The first release of Intensifier: night vision for Resolume Arena and Avenue, as one FFGL effect, SW Intensifier (IT01). Your clip seen through an image intensifier tube, Gen 2 or Gen 3: the clip is the scene, and Light Level is how much light falls on it, from overcast starlight to the end of civil twilight.
Photosensitivity warning. This effect turns dark clips up, so a dark clip that pulses can flash brightly through it. At the defaults 4 of Resolume's 33 demo clips flash faster than three times a second over a large part of the picture through it, where the clips on their own did not; at 10 lux, 10 do. A big step up in Light Level flares the whole picture once before the tube pulls it back. Check your clips before you put this in front of an audience.
The one idea. The tube counts. The light on each pixel becomes a Poisson number of photoelectrons a frame, the microchannel plate multiplies each one by a gain that is different every time, and each burst lights a spot of green P43 or white P45 phosphor. Nothing is drawn. So at starlight the picture is a shimmer of separate sparks that thickens into an image as the light comes up, a few sparks are far brighter than the rest, photoelectrons bouncing back off the plate ring every bright edge with a halo whose rim is twice the gap out, and when a torch comes into frame the whole picture dims, because the tube's supply holds the screen's mean brightness. In a very bright scene the photocathode is gated and the grain comes back, and at high light the fibre optics' honeycomb shows through.
Controls: Scene (Light Level, 0.00001 to 100 lux); Tube (Photocathode: Gen 2 or Gen 3, Gain, Phosphor: P43 or P45, Gap, Fixed Pattern); Look (Mix). The defaults are 0.1 lux (a full moon), a Gen 3 tube at a gain of 40,000 with a P43 screen, a 175 µm gap and Fixed Pattern 0.75. Gain only matters below the brightness limit: above it the supply holds the screen's mean and Gain cancels out, as in a real tube.
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. 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, at 1280×720 and 320×180 and again on Apple's software renderer):
- The counting. Read out of the plugin's own count buffer, the photoelectron counts are Poisson in the light from 0.00004 to 5000 a pixel a frame (every mean within 1.8σ, every chi-square p ≥ 0.059), and the plate's charge for N photoelectrons is Gamma(N, 1), as an exponential gain predicts. No correlation between frames, neighbours or instances.
- The tube. The halo's rim sits at twice the gap to within 1.9 px from 100 to 500 µm. The brightness control holds the screen's mean within 0.13% of its limit before and after a 100-fold step in the light, at 30, 60 and 120 fps, and a torch on 1% of the frame dims the rest by the factor the frame means predict. The gated photocathode holds its current at the limit; the phosphors decay at their source time constants at 30 to 240 fps.
- The checks can fail. Twenty-seven deliberately wrong models each fail their check, and 36 one-character mutants of the shipped GLSL and C++ are all caught. All 7 controls change the picture. The bundle is universal, and
oxbowreads SW Intensifier / IT01 / effect and renders through it.
In Resolume. In Arena 7.29.0 on an M4 Max with a local build of the same source, mounted on a clip over Arena's REST API: all 12 parameters shown with their defaults, Arena's clock reaching it in milliseconds, and Arena's composition snapshots showing the tube at work: the picture redrawn every frame, Mix 0 identical to the clip, P45 white, the brightness held from 0.1 to 100 lux, the flare and recovery after a step in the light, Gain acting only at low light, the halos growing with Gap, and the honeycomb's spectral line present at Fixed Pattern 1 and absent at 0. On Windows, in Arena 7.27.1 on win-lab (software rendering, no GPU), with the DLL this workflow builds, the fleet's Arena gate passed 9 of 9: it registers as IT01, an effect, with all 12 parameters as declared, renders, and every control moves the picture; Arena's log is clean and its clock reaches the plugin in milliseconds.
What isn't verified, or is a limit. Whether Resolume hands an effect straight or premultiplied colour is unchecked (the plugin assumes straight). Gain is dead above the brightness limit, over the top three quarters of its range at the defaults. The default 0.1 lux was set from the demo clips, not judged in a show, and a nearly black clip (Resolume's Bass 001) never engages the brightness control, even at 100 lux. The lens, the brightness limit and its 0.2 s response, the photocathode's current limit and the honeycomb are chosen, not measured, and the halo's strength (7.4% of photoelectrons) rests on one reading of a patent; the other reading makes it 2.7 times stronger. There is no round eyepiece field yet: the whole frame is photocathode. It has run on one Apple GPU, Apple's software renderer and Mesa's llvmpipe only.
Cost, GPU time at the defaults on an Apple M4 Max: about 0.85 / 1.31 / 3.4 ms a frame at 720p / 1080p / 4K.
Not done. No presets and no OpenFX port.
- User guide: https://stoatworks-labs.com/software/intensifier/guide/
- Project page: https://stoatworks-labs.com/software/intensifier/
- Browser demo: https://intensifier-demo.stoatworks-labs.com/