This is an add-on for Blender 3.x and 2.x.
It's a modal tool that lets you change the angle and shift of your camera lens while keeping it focused on the 3D cursor.
Use this to align your camera with background images (when modeling with reference) or for getting that perfect framing for your renders.
This tool works with exact math formulas.
How to use
- Set a camera of your scene as the active one, so you're looking through it.
- Place the 3D cursor at some point that you wish to keep focus on, like the nose of a character, the tip of a gun, the bottom of a cliff etc.
- Activate the tool in Object mode via menu View > Navigation > Dolly Zoom & Truck Shift or from a hotkey that you set up (read below in the "Installation" section).
- Use the D, X and Y keys to change between the dolly-zoom, truckshift-x and truckshift-y modes, respectively.
- Hold the Shift key for finer adjustments.
With the dolly-zoom mode this tool changes both the FOV angle of the camera and its location in space. You can keyframe these properties for use with animation.
With the truck-shift modes this tool changes both the shift of the camera and its location in space. You can also keyframe these properties.
Download the zip file after purchase. The same file works on multiple Blender versions.
On Blender, choose "Install from File" from the Add-ons tab on the Blender preferences window, and look for this zip file. Once installed, tick the checkbox on the add-on info box to enable it.
You can add a hotkey to this tool by right-clicking its menu and choosing "Add Shortcut". You can also set a hotkey manually in the Input tab of the Blender preferences (it should look like this). The operator name is view3d.dollyzoom_truckshift.
Save your Preferences after all these changes so they are remembered the next time you run Blender.
To delete this add-on, first find it on the Camera or User categories of your Add-ons tab of the Blender Preferences. Expand its box and press the "Remove" button.