diff options
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/camera/Canon_C300.py (renamed from release/scripts/presets/camera/Canon_C3000.py) | 0 | ||||
-rw-r--r-- | release/scripts/presets/camera/Nexus_5.py | 5 | ||||
-rw-r--r-- | release/scripts/presets/tracking_camera/Canon_C300.py (renamed from release/scripts/presets/tracking_camera/Canon_C3000.py) | 0 | ||||
-rw-r--r-- | release/scripts/presets/tracking_camera/Nexus_5.py | 11 |
4 files changed, 16 insertions, 0 deletions
diff --git a/release/scripts/presets/camera/Canon_C3000.py b/release/scripts/presets/camera/Canon_C300.py index 70c760c73b5..70c760c73b5 100644 --- a/release/scripts/presets/camera/Canon_C3000.py +++ b/release/scripts/presets/camera/Canon_C300.py diff --git a/release/scripts/presets/camera/Nexus_5.py b/release/scripts/presets/camera/Nexus_5.py new file mode 100644 index 00000000000..aa781782acb --- /dev/null +++ b/release/scripts/presets/camera/Nexus_5.py @@ -0,0 +1,5 @@ +import bpy +bpy.context.object.data.sensor_width = 4.5 +bpy.context.object.data.sensor_height = 3.37 +bpy.context.object.data.lens = 3.91 +bpy.context.object.data.sensor_fit = 'HORIZONTAL' diff --git a/release/scripts/presets/tracking_camera/Canon_C3000.py b/release/scripts/presets/tracking_camera/Canon_C300.py index 24fbbc78ff7..24fbbc78ff7 100644 --- a/release/scripts/presets/tracking_camera/Canon_C3000.py +++ b/release/scripts/presets/tracking_camera/Canon_C300.py diff --git a/release/scripts/presets/tracking_camera/Nexus_5.py b/release/scripts/presets/tracking_camera/Nexus_5.py new file mode 100644 index 00000000000..68ec347d3e1 --- /dev/null +++ b/release/scripts/presets/tracking_camera/Nexus_5.py @@ -0,0 +1,11 @@ +import bpy +camera = bpy.context.edit_movieclip.tracking.camera + +camera.sensor_width = 4.5 +camera.units = 'MILLIMETERS' +camera.focal_length = 3.91 +camera.pixel_aspect = 1 +camera.k1 = 0.0 +camera.k2 = 0.0 +camera.k3 = 0.0 + |