Haze
Moving heads in a hazed room, for Resolume

What it does
Two FFGL plugins for Resolume Arena and Avenue in one download: SW Haze, a source that's a rig of moving heads chasing on the beat in a hazed room, and SW Haze Over, an effect that plays the same rig in front of your clip on a screen at the back of the stage, lights the clip only where the beams land on it, or makes the clip every beam's gobo.
A beam is only visible because the haze scatters a little of it at you, and how much depends on the angle between the beam and your eye. For every pixel the plugins add up, along your line of sight, the light each beam scatters toward you: the Henyey–Greenstein phase function, with a forward bias worked out from Mie scattering by mineral-oil droplets, and Beer–Lambert's exp(−σL) for the haze between the droplet and the lens and between the droplet and your eye. Then they add what the beams light on the back wall and the floor, and the lenses themselves where one points at you.
Every fixture is one real one, Clay Paky's Mythos: its 157 mm lens, 24,000 lumens, zoom range and pan and tilt times are its manual's. The lens images the gobo at the Focus distance only, so it's sharp where the beam meets the wall at that distance and a smear along the beam in the air. The motors are time-optimal servos with pan and tilt synchronised to arrive together, stepping on the bar, the beat or its subdivisions, on a kick in Resolume's audio input, or when you press Step.
So without anything being animated, a beam seen side-on is a faint shaft and the same beam swung toward the camera flares, two beams crossing a thin patch of haze dim at the same place, too much haze dims everything, spots on the floor blow white before the beams do, and a Sweep chase at 120 BPM turns back long before it arrives. One pattern, Audience, aims every other step's beams at the camera, and it flashes: the user guide says how to keep it within photosensitivity guidance.
- A source (a hazed room) and an Over effect (your clip as a screen, a backdrop or the gobo) in one download
- Single scattering added up along every pixel's line of sight: Henyey–Greenstein, Beer–Lambert both ways, equiangular sampling
- One fixture from its manual: the Clay Paky Mythos's lens, flux, zoom and pan and tilt times
- Six gobos, or your clip, sharp at the Focus distance and blurred by the lens everywhere else
- Seven chase patterns on the bar, the beat, its subdivisions, audio onsets or Step, on time-optimal synchronised servos
- A stirred haze whose density varies slowly through the room and drifts
- Universal macOS bundles and Windows x64 DLLs
Where it stands
v0.1.0, and early days. It hasn't been loaded into Resolume on a Mac yet. On Windows both plugins load, register and render in Resolume Arena 7.27.1 on software rendering (no GPU, no sound device), with every parameter as declared and Arena's log clean, and with the chase and the haze held still every control the automated check could move changed the picture. Everything else is measured offline, by a harness driving the real plugins on a Mac: the phase function recovered from the picture is Henyey–Greenstein's to 0.83%, the haze's dimming is Beer–Lambert's, the lens seen down the beam is as bright as its flux says to 1.3e-6, the motors take the closed-form times the Mythos manual's full-range times give, a Sweep chase keeps up at 40 BPM and misses every step at 41 where the closed form says 40.64, and the gobo is sharpest at the focus distance and blurs as the lens's defocus says. It catches seventeen models broken on purpose and twenty-six one-character sabotages of its own code. The droplet size, the motors' acceleration and how the haze is stirred are assumptions, and the stir is subtle in stills. Single scattering only, one fixture, no gobo rotation, prisms or strobe. The Audience pattern flashes when its beams turn to the camera; the defaults and every other pattern don't, and the guide says how to keep a show within photosensitivity guidance. There's a user guide and a browser demo, but no presets. Try it in your own rig before you trust it in a show.
Watch it running
Nothing loads from YouTube until you press play.Watch it there instead