Hello everyone. In the making of a broader toolset addon, I stepped into this little feature that is often needed (as users coming from the other software that ends with “StudioMax” know… yeah, “Camera Correction Modifier” sort of…)
but it looks like it’s hard to find a solution or a script: so I made one, and now I’m sharing it.
This little addon adds a panel in the camera properties. It just has a “Perspective correction” button that makes exactly what you think: the camera X Rotation and Y Shift are changed so that the horizon doesn’t move, but the vertical lines become straight, as often needed in architectural shooting.
Have you actually tested this with multiple angles? When I look at the code, it has one hardcoded value. I wonder if this works on different angles because it will use the same value on all
I found that magic number, which i guess it’s arbitrarily hardcoded in Blender. No digging in the code, i swear: it was just a matter of trial and error.