Lens grids and distortion charts, and why matchmove keeps asking for them
Every lens bends the image a little. Matchmove and CG have to know exactly how much. A plain guide to shooting lens grids on set.

At some point on almost every VFX shoot, someone from the VFX team walks onto set with a big board covered in a black-and-white checkerboard pattern and asks the camera team to shoot it on every lens. The camera team usually looks at them like they've asked for a coffee during a take.
So here's why we do it.
Every lens distorts
No lens is perfectly straight. Wide lenses especially bend straight lines near the edges of the frame. Barrel distortion pushes them outward, pincushion pulls them inward, and some lenses do a strange mix of both. Anamorphic lenses add their own oddities on top.
Most of the time you don't notice, because the eye accepts it. But CG doesn't distort. A 3D render comes out perfectly straight. If you drop a straight CG building into a plate shot on a 24mm lens with some barrel distortion, the edges won't line up. The building will look like it's sliding against the background as the camera moves.
To fix this, post "undistorts" the plate, makes it straight, does all the 3D work, then puts the original distortion back so it matches. To do that, they need to know exactly how each lens distorts. That's what the grid tells them.
What a lens grid is
It's a flat board, or a printed sheet mounted flat, with a regular pattern on it: a checkerboard or a grid of lines or dots. You shoot it filling the frame, square to the camera, with each lens. Software then reads how the straight lines in the pattern have bent and builds a distortion profile for that lens.
Simple. But there are a few things that make or break it.
Shooting it properly
Fill the frame. The edges are where distortion is strongest, so the pattern needs to reach right to them. A small chart in the middle of frame tells you almost nothing.
Keep it flat and square. If the board is bent or angled, the software reads that as distortion. Mount it properly, check it's level, and point the camera straight at it.
Shoot it in focus. Obvious, but it gets missed when everyone is in a hurry.
Shoot at the focus distances you actually used. Distortion can change with focus, especially on some zooms and older glass. If a lens was used both close and far, grid it at more than one distance.
Zooms are a pain. Distortion changes across the zoom range. If a zoom was used at several focal lengths, grid each one, or at least the wide end, the long end and something in the middle.
Note everything. Lens serial number, focal length, focus distance and camera body. Two lenses of the same model can distort slightly differently, so the serial number matters.
When to shoot them
The ideal time is during camera prep, before the shoot, when the camera team is testing anyway. Grid every lens in the kit then. It's calm, nobody is waiting, and you get a full set.
If you miss that, grid the lenses at the start or end of a day, or during a lighting change. Don't try to do it in the middle of a scene with the AD watching the clock.
And if a lens gets swapped mid-shoot because one got damaged or the rental house sent a replacement, grid the new one. That lens is a different lens as far as post is concerned.
The payoff
With good grids, matchmove is faster, CG sits in the plate properly, and set extensions line up at the edges where they meet the real set. Without them, artists estimate the distortion by eye from things in the plate that should be straight. That works sometimes. It takes longer every time.
Ten minutes in prep against hours on every shot. That's usually enough to convince even a grumpy camera team.