Relighting a museum photograph: one picture is enough from the front, not from the side
From one photo, two open models recover shape, camera and surface colour, and Blender relights it with a cinematographer's one-lamp setup. A marble bust works from the front. A real face (NASA's 1960 portrait of John Glenn) falls into the uncanny valley until the photo's own skin detail is put back. A fitted FLAME head fixes side light but not front light, and a learned relighter gets the light right but loses the person.
November 14, 2026 · Project · What is not yet established
Can you turn one photograph into a scene you can light again? In earlier posts I rebuilt the cinematographer Geoff Boyle’s lighting setups from 3D models: a beauty shot and a backlit wine glass. Here I start from the Met’s public-domain photo of a marble bust of Caligula, then a 1960 NASA portrait of John Glenn.
- From the front, yes. Two open models, MoGe-2 for shape and camera and Marigold for surface colour, turn one picture into a scene Blender can light, in about six minutes on a CPU. Soft frontal light on marble looks convincing.
- From the side or behind, no. A photo holds only the surfaces the camera saw. Light from elsewhere hits nothing, or a guess.
- Faces need a face model. A generic 3D head (FLAME) supplies the missing volume, so side light works, but it gets the person’s expression wrong. Close up, frontal light still looks synthetic.
- A learned relighter gets the light right and loses the person. IC-Light redraws the photo under the new light with no 3D at all; the result looks photographic, but it is no longer Glenn.
- Size is a missing number. One picture can’t tell a small head nearby from a big one far away; I took it from the museum catalogue.
What it means: for film, relighting in post works for small changes near the original key; a new rim or backlight still needs lighting on set or more views. A paper-style PDF has the full write-up (working paper, not peer reviewed).
Agent context: sources, method and working notes
TL;DR
- One photo can be relit, if the new light comes from about where the camera was. Two open models, one for shape and camera and one for surface colour, turn a single picture into a scene a renderer can light. It takes about six minutes on an ordinary CPU. Soft frontal light on a marble bust looks convincing.
- It can’t be relit from the side or from behind. A photo only contains the surfaces the camera saw. Light from anywhere else hits nothing, or hits a guess.
- Faces need a face model, and the face model needs the photo. A generic 3D head (FLAME) supplies the volume a photo lacks, which makes side light work. On its own it gets this person’s expression wrong under soft front light. Starting from SMIRK’s expression estimate and adding the photo’s own fine creases helps, but close up, frontal light still looks synthetic.
- Size is a missing number. One picture can’t tell a small head nearby from a big head far away. I had to supply it, from the museum catalogue and from an average head size.
- What it means: for filmmakers, relighting in post is realistic for small changes near the original key. For big moves (a new rim light or backlight), light it on set or capture more views. For research, the gap is person-specific shape around the eyes and mouth, which neither a generic head model nor single-photo depth gets right.
In two earlier posts I rebuilt lighting setups from the cinematographer Geoff Boyle in a 3D renderer: a beauty shot lit with one lamp and some polystyrene, and a backlit wine glass. Both started from 3D models. This one starts from a single photograph. Can you turn one picture into a scene you can light again?
The photo is the Metropolitan Museum of Art’s picture of a marble bust of the emperor Gaius, known as Caligula (37–41 CE), released as public domain (CC0). It was shot with a strong light from the camera’s left.
Three steps

1. Shape and camera. MoGe-2 (Microsoft) looks at the photo and estimates, for every pixel, a 3D point, a surface direction and the camera’s focal length. On a 16-thread CPU with no GPU it took 17 seconds.
2. Take the light out. Marigold (ETH Zürich), in its “intrinsic image” version, estimates the surface colour as if no light and shadow were falling on it (the albedo). It is a diffusion model, so it is slower: five and a half minutes on the CPU. It removed almost all of the photo’s left-side key. It left a dark patch under the jaw, the shadow it couldn’t tell from the marble, and it softened the carved hair.
3. Build it and light it. In Blender every pixel becomes a vertex at its estimated 3D point, and neighbouring pixels are joined into a surface. The surface is coloured with the albedo, shaded with MoGe-2’s predicted surface directions, and seen through a camera matched to the photo. Then I lit it with the same kit as the beauty post: one redhead lamp, a sheet of white polystyrene and two black flags.
One correction was needed by hand. One photo cannot tell how big things are. A big bust far away and a small one close up give the same picture. MoGe-2 guessed the head was 2.7 m from the camera, which would make the bust about 1.5 m tall. The Met lists it at 50.8 cm, so I scaled the scene down to that. The picture doesn’t change, but the lights then sit at real distances.
Relit

- Clay (first). The recovered shape in plain grey. Eyes, brow, lips and the locks of hair are all there.
- Boyle’s beauty setup (second). The redhead bounces off polystyrene over the camera, with black flags either side, metered to the photo’s brightness. The left-side key of the original is gone, replaced by a soft frontal light, and the cheeks fall off at the sides.
- Lamp straight at the face (third). A hard frontal light, metered to match. It gives flat light and a sharp shadow on the backdrop.
- Hard light from the side (fourth). New shadows the photo never had: the nose shadow across the cheek, the brow shading the eye, the jaw line. It also shows the limits: the lit chest looks smeared where the albedo is blurry, and the shadow edge on the neck is cruder than real marble would give.
What one photo doesn’t contain

Swing the camera 100° around the head and the scene turns out to be a relief of the parts the photo could see. The profile is there. Behind it, the surface just streaks away along the original camera’s line of sight, because the photo holds no information about anything it couldn’t see. A light in front of the subject works fine, because every surface it lights is one the photo showed. A light from the side or behind lights surfaces that aren’t there, and casts shadows from a head with no back. So front and three-quarter relighting from one photo is practical today. Rim light and backlight need more: a second photo, or a model that invents the back of the head (Meta’s SAM 3D, Microsoft’s TRELLIS and Tencent’s Hunyuan3D all try to).
Two things I tried that didn’t work:
- Dropping edge-on triangles. Where the surface wraps out of sight, neighbouring pixels get joined by long, stretched triangles. I removed the most edge-on ones, hoping to clean up the side lighting, and they turned out to be filling real gaps: the side of the nose and behind the ear became see-through cracks. They’re back in.
- Shading with the mesh’s own normals. These come from the stepped depth estimate, and under grazing light they showed as stripes across the chest. MoGe-2 also predicts surface directions directly, and using those fixed it (second image above).
A real face

A marble bust is a kind test: one matte colour, no eyes to get wrong. So I ran the same pipeline on a real face, NASA’s May 1960 portrait of the astronaut John Glenn (G60-02739). As a US government photo it’s public domain. Two changes were needed. The studio backdrop is only a metre behind him, so MoGe-2 kept it in its mask, and I split him from it by depth. And the skin material lets light travel a few millimetres under the surface, red furthest, as real skin does.

The albedo erased the person. Marigold removed the lighting, but it also removed freckles, pores, stubble and wrinkles, and it pushed the skin orange. Relit, that gives a waxwork (first image below). Much of what it removed was skin colour, not lighting. An old fix from photo retouching helps: divide the photo by a blurred copy of itself to isolate the fine detail, then multiply that onto the albedo at 70% strength. The freckles and lines come back. So does some of the original small-scale shading: the crow’s feet are darker than the new light would make them.

With the detail restored, the frontal setups read as a person at a glance. Up close they don’t hold up. The skin is too orange and too even, the eyes are flat, and the hard side light (last) draws a terminator across the cheek that’s too sharp for skin.

The side view explains part of it. The recovered face is a shallow mask: the nose barely stands out, and the eye sockets are filled in. Depth from one photo flattens faces, so light can’t model them the way it models a real head. For faces, the better route is probably a model built for them: fitting a 3D face model to the photo, or a relighting model trained on faces, which learns what skin does under light instead of recovering it from geometry. I tried the first.
Fitting a face model: FLAME

FLAME is a 3D head model from the Max Planck Institute for Intelligent Systems, learned from thousands of head scans. It is one mesh of about 5,000 points, covering face, scalp, ears, jaw and eyeballs, steered by a few hundred numbers for face shape, expression and pose. The 2023 Open version is licensed CC BY 4.0. Fitting it means finding the numbers that make the mesh match the photo.
I fitted it to 105 points on the face found by Google’s MediaPipe face landmarker (eye and lid contours, brows, nose, lips, jaw line), through the camera MoGe-2 had estimated. FLAME’s own download maps those points onto its surface. On a CPU the fit took 14 seconds. The mesh points land within about 2 pixels of the photo’s on an 826-pixel-wide image. Because FLAME is in real units and the head is assumed to be of typical size, the fit also measures the camera distance: 0.45 m, where I had guessed 0.55 m.
To render it, I cut off FLAME’s neck, which flared into a bib over the collar, and projected the photo’s skin colour onto every part of the head the camera saw. The parts it didn’t see (the back of the head, the far side) get the median skin colour. The suit and bow tie still come from the per-pixel relief.

Under hard side light, FLAME is better. The head turns away from the light with real volume. The nose throws its shadow across the cheek, and the far side falls into darkness the way a real head does. The relief can’t do this, because it has no far side.
Under the soft beauty setup, FLAME is worse. Glenn is squinting into a big smile: the skin bunches above and below his eyes, and his crow’s feet are deep. FLAME’s expressions don’t reach that, even with all 100 of them free. Its upper eyelids face upward and catch the light from the polystyrene over the camera, which leaves pale patches above the eyes that the real squint would keep in shadow. The skin also reads as plastic. The relief, for all its flatness, follows the real creases, so from the front it looks more like him.
So a face model and a single photo each know something the other doesn’t. FLAME knows what a head is shaped like; the photo knows what this face is doing. Combining them, by fitting FLAME and then adding the photo’s fine shape on top, is the obvious next step.
Better expression, plus the photo’s creases: SMIRK

SMIRK (Retsinas et al., CVPR 2024) is a network trained to read FLAME expressions from a face photo, including subtle and lopsided ones. FLAME’s own landmark fit had missed exactly that. On this portrait it narrowed both eyes, closing the left lid 44% and the right 23%, and pushed the cheeks up. I used its estimate as the starting point for the same landmark fit, with a pull toward SMIRK’s values so the fit only adjusts them. SMIRK predicts parameters for FLAME 2020, so this part uses that model, under its research licence.
SMIRK gives the shape of the expression, not fine detail. For the detail I used the photo again. MoGe-2’s predicted surface directions are too flat overall, but they do show the creases. Subtracting a blurred copy leaves only the creases, and I added that to the FLAME head’s own surface directions wherever the camera saw the face. The head keeps FLAME’s shape and gets the photo’s crow’s feet and smile folds (right column).
Together they help. The clay head now looks like this face mid-grin, and the beauty light falls into the creases instead of across a smooth mask. The pale patches above the eyes remain. Glenn’s upper lids are hooded, a fold of skin that hangs over them and keeps them in shadow, and neither FLAME’s expressions nor the shallow photo depth contain that fold.

Under hard side light, where a full head matters most, the SMIRK version is a little better than plain FLAME: a truer squint and smile, and a few more creases. Both beat the single-photo relief clearly. The faint crescent at the hairline, where FLAME’s scalp sits inside his hair, is still there.
A learned relighter: IC-Light

Everything above builds 3D and then lights it. A learned relighter skips the 3D. IC-Light (Lvmin Zhang and colleagues, Apache-2.0) is a Stable Diffusion 1.5 image model fine-tuned to redraw a cut-out subject under new light. You tell it where the light comes from with a brightness gradient and a few words, and it paints the result. It runs on a CPU, slowly: about 15 minutes per image at 512 × 640 on the same machine.
The pictures look like photographs, because the model was trained on photographs. Skin has real texture, light wraps around the head, and the model even invented a window behind Glenn to explain where the light is coming from. But it isn’t Glenn any more. The man in the middle picture is younger and smoother, the freckles are gone, and the features have shifted. A diffusion model redraws the whole image from its own idea of a face, and at the low resolution a CPU allows, his identity doesn’t survive.
That is the trade in one picture. The 3D methods keep the person and get the light only partly right. The learned one gets the light convincingly right and loses the person, with nothing to check it against: no geometry, no record of what it invented. Commercial portrait relighters such as Beeble’s SwitchLight run at much higher resolution on GPUs; they are not open, and I haven’t tested them. Running IC-Light itself at full resolution on a GPU would likely keep more of him, which I also haven’t tested.
Running it yourself
Two scripts, both CPU only:
- photo_estimate.py runs MoGe-2 and Marigold through Python, PyTorch and Hugging Face diffusers. It writes the point map, normals, mask, camera and albedo.
- photo_relight.py builds and lights the Blender scene. Pick a pass with
--pass albedo|geometry|boyle|direct|side. For the face:--mask depth --material skin --albedo albedo_detail.png, after detail_restore.py<est dir> 4 0.7.--distsets the scale (the camera-to-head distance in metres) and--orbitswings the camera.
For IC-Light: iclight_run.py (CPU, float32, our depth mask instead of IC-Light’s non-commercial background remover; base model Realistic Vision 5.1, CreativeML OpenRAIL-M). For SMIRK: smirk_run.py runs SMIRK’s encoder on CPU (it needs SMIRK’s code and weights from its repository), flame_fit.py --model 2020 --smirk smirk.npz starts the fit from its estimate, detail_normals.py extracts the photo’s creases, and photo_relight.py --detail-normals 1 adds them. For FLAME: face_landmarks.py finds the MediaPipe points, flame_fit.py fits the model (PyTorch, CPU), flame_load.py opens FLAME’s file accepting only array data, and photo_relight.py --flame fit.npz renders it. The FLAME files themselves come from flame.is.tue.mpg.de after signing up. I don’t re-host them.
Each final render took about a minute.
Credits
- Face: Portrait - Glenn, John H., NASA photo G60-02739, May 1960, Johnson Space Center (public domain; no NASA endorsement implied).
- Photograph: Marble portrait bust of the emperor Gaius, known as Caligula, The Metropolitan Museum of Art, Rogers Fund, 1914, object 248851, Open Access (CC0).
- Shape and camera: MoGe-2, Wang et al., Microsoft. Surface colour: Marigold intrinsic image decomposition (appearance model, v1.1), Ke et al., ETH Zürich. Renderer: Blender.
- Head model: FLAME 2023 Open, Max Planck Institute for Intelligent Systems, CC BY 4.0. T. Li, T. Bolkart, M. J. Black, H. Li and J. Romero, “Learning a model of facial shape and expression from 4D scans”, ACM Transactions on Graphics (SIGGRAPH Asia), 2017. Changes: fitted to the photo, neck removed, photo colour projected onto it. The vertex masks and MediaPipe landmark embedding are from the same site.
- Face landmarks: Google MediaPipe Face Landmarker.
- Learned relighting: IC-Light, L. Zhang, A. Rao and M. Agrawala, “Scaling In-the-Wild Training for Diffusion-based Illumination Harmonization and Editing by Imposing Consistent Light Transport”, ICLR 2025 (Apache-2.0), on Realistic Vision 5.1 (Stable Diffusion 1.5, CreativeML OpenRAIL-M).
- Expression: SMIRK, G. Retsinas, P. P. Filntisis, R. Daněček, V. F. Abrevaya, A. Roussos, T. Bolkart and P. Maragos, “3D Facial Expressions through Analysis-by-Neural-Synthesis”, CVPR 2024 (code MIT). FLAME 2020, MPI-IS, academic licence (non-commercial research), used for the SMIRK renders.
- The lighting setup is Geoff Boyle’s, from the Cooke Optics interview Don’t complicate lighting.
Changes
- November 17, 2026: Shortened to what a reader needs first; the full method, checks and sources moved under Agent context.
- November 14, 2026: Added the "Move the lamp" interactive at the top and a learned relighter (IC-Light) for comparison.
- November 14, 2026: Added a TL;DR, a SMIRK expression fit with the photo's fine creases as a detail layer, and a paper-style PDF.
- November 14, 2026: Added a fitted FLAME 2023 Open head model for the face, compared with the per-pixel relief under the same lights.
- November 14, 2026: Added a real face (NASA's 1960 portrait of John Glenn), the skin-detail fix and what still goes wrong.
- November 14, 2026: First version.