Under ett tak: How We Built a 16-Second Film Around Its Score

Under ett tak: How We Built a 16-Second Film Around Its Score

Two giant LED walls fold together into the roof of a house. Here is how we made it, from the music that times every cut to the hinge we built three times.

Under ett tak. 16 seconds, best with sound on.

Under ett tak ("Under one roof") is a 16-second film in which two giant LED walls fold together into the roof of a house. It sells one idea: we build the website and run the ads, so both live under one roof.

The film at a glance

  • Message: Hemsidor som säljer. Annonser som lockar kunder. Allt under ett tak. Boka ett kostnadsfritt möte. (Websites that sell. Ads that attract customers. All under one roof. Book a free meeting.)
  • Length: 16 seconds at 24 fps, including a 1-second hold on the end card
  • Format: 4:5, 1440 × 1800
  • Shots: 14
  • Virtual set: two LED walls of 32.3 × 13.46 m and a gable-shaped end wall of 21.2 × 13.23 m
  • Wall art: 1,080 images typeset by script, one per wall per frame
  • Software: Houdini 22 (Solaris, MaterialX, Karma XPU), Python, headless Chrome for the type, OpenImageIO and ffmpeg for the finish
  • Render: 354 full-quality frames at 128 samples, on machines with two RTX 4090D cards at Fox Renderfarm

We directed every creative decision. We incorporated AI to speed up several processes, to quality test and to upscale textures.

The idea: stop showing websites

The idea came from throwing away the obvious one. The brief was a Swedish film selling our website work, with a message that was painfully obvious and a finish good enough for a showreel.

Two earlier concepts were scrapped first: a split-flap booking board, and a glass screen showing a real site being built. Neither felt right, and showing a website on the screens was what kept breaking them.

The references we loved all shared one thing: LED walls throwing light onto really good textures. So the set became the message. One wall says websites, the other says ads, and when they tip inward and lock, they form the roof of a house.

Three early stills of LED walls with the words Hemsidor som säljer
The first LED stills, the first images that stood up next to our references.

We worked stills first. Every look was judged on a frozen frame before anything was allowed to move.

Sound first: the score drives the picture

The music was written before any shot was timed, and every cut lands on it. The score is 15 seconds at 120 BPM, written as code in Python.

Each wall has its own voice, so you can hear which one is talking:

  • The website wall plays a clean, high data motif, panned hard left.
  • The ad wall plays a low, rubbery FM motif, panned hard right.
  • At 4 s a steel hinge lets go with a clank, then a ratchet speeds up under a climbing drone. The harmony sits in E Phrygian, so it stays unresolved.
  • At 9.25 s everything cuts to a quarter second of silence.
  • At 9.5 s the walls lock on the biggest hit. It resolves to E major, and both motifs play together in the centre.

The score also exports a list of its own events: 12 big hits and 79 notes. The picture reads that file directly. Cuts land on the hits, the first notes bring in the words one at a time, and every note lifts the brightness of its wall, so the light on the floor and concrete moves with the music.

Waveform of the 15-second score with a line at each hit
The score, with the left channel above and the right channel below.

The LED walls

The walls are both the picture and the main light, so their content had to exist before anything could be lit. A Python script makes a separate image for each of the three walls on every frame, 1,080 images in total.

The side walls are 7,106 × 2,961 pixels, which is 220 pixels per metre. The type is Geist Medium, set 3 metres high and tracked to −0.052em. It is typeset in headless Chrome so the kerning is real, and the l in "säljer" got its own spacing fix.

Flat art for the right wall: blue ribbons with white type
One frame of the right wall's art.

A perfect screen looks fake, so the script adds the small flaws of a real wall:

  • Cabinets: the wall is built from 0.6 m cabinets, each calibrated slightly differently. The four modules inside each one drift on their own.
  • Seams: the lines between cabinets are only 3.5% darker. At 12% the wall read as graph paper.
  • View angle: brightness falls off as you look along the wall, as it does on real panels.
  • Diodes: in the macro shots, every pixel is a real red, green and blue emitter sitting in a dark cup.
Extreme close-up of LED diodes
A macro shot from the film. Every dot is a separate diode.

Each wall has its own character. The left is white with black type, with a very faint iridescent wave flowing behind the words. The right is Caowl blue ribbons with white type, and the art sinks to navy behind the words because the message has to read first.

When the walls lock, both fade to the same blue at the ridge, so the two halves of the roof meet with no visible join. From then on, every note sends a band of light running down from the ridge.

Building the hall in Houdini

The set is one continuous hall, so every shot is a real camera inside it. Two walls stand on a row of steel hinges along a concrete podium, and they tip inward to lock into a pitched roof.

The two walls tipping inward through the hall
The walls tipping inward through the hall.

The first rig had it backwards. A wall that hangs from its hinge and swings up ends with its screen facing the sky. So the walls stand above the hinge and tip down, which leaves the screen facing the floor.

Everything is built in Solaris, with materials in MaterialX, and rendered in Karma XPU. The concrete uses real scanned maps, because LED light raking across real surface detail was the look we were after. Four choices shaped the setup:

  • The walls are real light sources. Each wall is an emissive surface showing that frame's image, so the words on screen are what light the concrete.
  • The wall images change through a small Python node. Until its values were time-sampled, the picture froze on each shot's first frame.
  • One render node covers all 14 cameras. A short expression picks the right camera for each frame, so a farm can render any frame on its own.
  • Motion blur is cached. The geometry is stored a quarter of a frame either side, so blur survives one-frame-at-a-time rendering.

The hinge: one second on screen, three builds

The hinge is on screen for exactly one second, and it took three builds to get right. In a close-up like this there is nothing to hide behind.

Three approaches failed along the way:

  • Plain shapes read as CAD: clean, and obviously made on a computer.
  • Heavy wear went too far the other way. With chips and grime, it looked like it had just come from an apocalypse movie.
  • Forms blended through VDB read as melted plastic.

What worked was treating it as new, precisely made machinery. That meant crisp plates with 4 to 7 mm bevels, neat weld beads and satin paint at a roughness of 0.15 to 0.22. The smudges on the steel come from a real scan, with fine machining grooves on top.

When a still felt wrong, we marked up exactly why: nothing truly sharp, no bright highlights, melted edges, blue drowning out the white, blank surfaces, and a lonely object against a flat backdrop.

A hinge still with six numbered notes on what looks wrong
The marked-up still.

The biggest finding came from rendering the frame once per light. A hidden strip light was giving 77% of the light on the hinge, while the huge white wall gave 10%. That is why it looked like a studio product shot.

The hinge rendered once per light source, with two lighting options below
The same frame rendered once per light, with the strip light and the walls compared below.

So we cut the strip light right down and turned the walls you can't see into lighting. For that one second the right wall goes plain white and lights the hinge from out of frame. A soft band of light on the end wall draws the long highlight along the black cylinders.

The finished hinge shot
The hinge in the finished film.

Making it photoreal

Photorealism turned out to be a list of small corrections, not one big trick. Here they are, in order of how much each one moved the picture:

  1. A real room. The hall started as walls in a black void. A dark shell and roof trusses gave the light something to land on.
  2. Believable walls. Fainter seams, small differences between cabinets, and brightness that falls off with view angle.
  3. Real whites. The tone mapping held the walls at about 0.88 on screen, so the grade got a soft white knee. The walls also run brighter than needed, because a clipped wall still lights the floor.
  4. Properly black paint. The base value dropped from 0.05 to 0.022. Under a wall that large, the diffuse part is what turns black paint grey.
  5. Less bloom. Bloom scales with wall brightness, so it had grown about tenfold. It is now only a trace on the brightest edges.
  6. No haze. Even a faint volume just lifted the blacks, so it went.
  7. Sharper art. The blue ribbons got razor leading edges and deep navy troughs, at full wall resolution.
The walls meeting above the hall, with reflections on the polished floor
The look after those corrections.

Plenty of ideas did not survive. Crumpled film sheets in front of the white wall looked like plastic bags, and floating iridescent orbs looked like milky blobs. Lens colour fringing drew a red hairline along the wall edges.

Two tests for the white wall, one with orbs and one with colour waves
Two ideas for the white wall. The orbs went, and the waves were toned far down.

Grain was not the missing piece either. When we measured the references, they were as clean as our stills.

The people problem

People give the hall its scale, and they were the hardest thing to get right. The first attempt was dark mannequins, which looked worst exactly where we needed them most: huge and featureless in the shot looking straight up.

Grey mannequins in a turnaround and walk test
The mannequins, before we stopped building people.

More detail did not save them, and one rigging bug tore a body apart. So we stopped building people and took ready-made rigged scans from Renderpeople's free set. Their motion is carried over with linear blend skinning: each bone's move is measured from the animated body, and every skin point follows its four strongest bones.

What made them believable was where they look. People on the left look up at the ad wall and people on the right look up at the website wall, so each side is reading the other half of the message. A head turn and a small arch of the back made the pose read as natural.

A scan close to camera still looks like a scan, so we set a rule: nobody stays near the lens for more than about half a second. The look-up shot was split so the people are visible for just 11 frames, and the new cut lands on a tick in the score at 7.95 s.

The look-up shot with people at the edges of the frame
The look-up shot, where people are visible for 11 frames.

In the final film the hall is otherwise empty until the lock. From 9.5 s, one figure walks along the side wall and one stands at the foot of the end wall. They do the one job people were always there for: showing you how big the place is.

A small silhouette at the foot of the end wall
One of the two figures, at the foot of the end wall.

Final touches: floor, roof, concrete and the beat

Once the look was locked, one last pass made the hall sit together and move with the music.

  • Floor: polished so the words reflect in it, with a roughness map from 0.02 to 0.14 so the reflections break up naturally.
  • Concrete: surface relief pushed up to catch the raking light from the walls.
  • Trusses and machinery: clean, new metal with no wear.
  • Light along the floor: two 52-metre strips at the foot of the walls, colour-matched to each wall in warm white and Caowl blue.
  • The beat: every big hit lifts the walls by 60%, and the lock adds a further 120%, so the whole hall flashes with the music.

The words changed late too. "Annonser som ger kunder" sounded wrong in Swedish and became "Annonser som lockar kunder." "Under ett tak" became "Allt under ett tak," and the logo moved to sit centred under the last line.

Rendering on the farm and what it really cost

The render bill came to $54.41, well above our first estimate of about $30. The film is 354 rendered frames at 1440 × 1800 and 128 samples. The other six frames are the black gap before the lock.

  • First run, 5 frames per machine: 89 frames, then the credit ran out. $18.87.
  • Test frame: $0.34.
  • Finishing runs: 280 frames. $35.20.

Only 73 of the first run's frames made the film. The other 16 fell in the black gap or in the ending, which was rendered again to bring the silhouettes back.

The money is not per frame. The first frame on each machine took about 3 minutes 25 seconds and cost about $0.28, because the machine has to load the whole scene. Every later frame on that machine took about 1 minute 8 seconds and cost about $0.09.

That makes small batches expensive. The first run averaged $0.21 a frame. The finishing runs used batches of up to 20 and came in at about $0.13 a frame.

Next time we would do three things from the start:

  • Send at least 20 frames to each machine.
  • Keep to one continuous frame range, because comma-separated ranges are batched separately.
  • Add the credit first, because a prepaid job simply stops when it runs out.

For comparison, our own PC takes 40 to 49 seconds a frame, so about four and a half hours for the film. The farm costs money, but it leaves the workstation free.

Grade, cut and signature

The frames arrive from the farm as EXR files and are graded by script, so the whole film gets the same treatment every time it is rebuilt.

  • Grade: contrast 1.28 across the film and a neutral 1.22 on the hinge. Exposure is set per shot, so the macro and hinge shots match the cuts around them.
  • Lens punch: every hit in the score gives the picture a 1% zoom that dies away within a few frames. The lock gets 3%.
  • Silence: six frames of pure black, exactly where the score goes silent.

The name is the last thing added. "Caowl Studios" is set in Geist Thin on the floor under the logo and fades in with it at 13 s. We cleaned the floor reflections away behind the name but kept the grain, so the patch does not show.

The end card reading Boka ett kostnadsfritt möte, with the logo and name
The end card, with the name in Geist Thin on the floor.

The film ends with one extra second on the last frame. A soft reverb tail at −32 dB lets the score ring out instead of stopping.

It is an ad, so it has one job: make the message impossible to miss. Everything above exists to serve one sentence. Allt under ett tak.

Kontakta oss!

Jobbar du med någotspännande? Boka ett möte.

KONTAKTA OSS