Exporting Cameras to Blender
How to export cameras to Blender and set them up to match
If you want to import KeyShot cameras to Blender in order to overlay VFX or create external camera animations for importing it back into KeyShot, this article will show the steps.
- Export the Scene as an FBX. If you only need a few objects, you can select the ones you want to export and enter Solo Mode (hotkey S) before exporting.
- Make a note of the camera's lens settings.
You will need the Focal Length, which is 60mm for the example camera.
If it is a Shift camera, you will also need the horizontal and vertical shift.
Please also take a note of your resolution and aspect ratio in the Image Tab.
- Importing it in Blender, please adjust the resolution and aspect ratio in Blender's Output tab.
After that, you may notice, that the camera still doesn't exactly match and that there is clipping.
In the camera's Data settings please adjust the following:
- Set the Camera Sensor Size on the bottom of the settings to 36mm
- While it's only a visual aspect, you can increase the Clipping Start in order to fix the clipping
- Set the Focal Length to match the Focal Length setting in KeyShot
- If you have a Shift Camera, adjust Blender's Shift X to be the value of KeyShot's Horizontal Shift with the reverse sign. (e.g. -0.2 in KeyShot should be 0.2 in Blender)
- If you have a Shift Camera, adjust Blender's Shift Y.
Currently in KeyShot, the vertical shift is dependant on the resolution, so the resulting shift is the entered value multiplied by the height and divided by the width. (KEYS-33800)
In this case, it would be 0.1 x 800 / 1200 = 0.6666666
You can do the math directly in Blender's edit-box as shot below.
- With those settings the imported camera should match the camera in KeyShot.
You will now have a matching perspective for overlaying VFX or for using it as a starting point for a camera animation that you can import back into KeyShot for having a matching camera animation in Blender and KeyShot or for transferring tracked cameras.
If you want to import an animated camera back into KeyShot you can follow this guide:
Importing animated cameras into KeyShot