Adding presets for Blackmagic Pocket Cinema Camera and Blackmagic Production Camera 4K
authorDaniel Salazar <zanqdo@gmail.com>
Wed, 20 Aug 2014 06:55:26 +0000 (00:55 -0600)
committerDaniel Salazar <zanqdo@gmail.com>
Wed, 20 Aug 2014 06:55:57 +0000 (00:55 -0600)
release/scripts/presets/camera/Blackmagic_Pocket_Cinema_Camera.py [new file with mode: 0644]
release/scripts/presets/camera/Blackmagic_Production_Camera_4K.py [new file with mode: 0644]
release/scripts/presets/tracking_camera/Blackmagic_Pocket_Cinema_Camera.py [new file with mode: 0644]
release/scripts/presets/tracking_camera/Blackmagic_Production_Camera_4K.py [new file with mode: 0644]

diff --git a/release/scripts/presets/camera/Blackmagic_Pocket_Cinema_Camera.py b/release/scripts/presets/camera/Blackmagic_Pocket_Cinema_Camera.py
new file mode 100644 (file)
index 0000000..bb2b172
--- /dev/null
@@ -0,0 +1,4 @@
+import bpy
+bpy.context.camera.sensor_width = 12.48
+bpy.context.camera.sensor_height = 7.02
+bpy.context.camera.sensor_fit = 'HORIZONTAL'
diff --git a/release/scripts/presets/camera/Blackmagic_Production_Camera_4K.py b/release/scripts/presets/camera/Blackmagic_Production_Camera_4K.py
new file mode 100644 (file)
index 0000000..dbc12c5
--- /dev/null
@@ -0,0 +1,4 @@
+import bpy
+bpy.context.camera.sensor_width = 21.12
+bpy.context.camera.sensor_height = 11.88
+bpy.context.camera.sensor_fit = 'HORIZONTAL'
diff --git a/release/scripts/presets/tracking_camera/Blackmagic_Pocket_Cinema_Camera.py b/release/scripts/presets/tracking_camera/Blackmagic_Pocket_Cinema_Camera.py
new file mode 100644 (file)
index 0000000..a9c81f4
--- /dev/null
@@ -0,0 +1,9 @@
+import bpy
+camera = bpy.context.edit_movieclip.tracking.camera
+
+camera.sensor_width = 12.48
+camera.units = 'MILLIMETERS'
+camera.pixel_aspect = 1
+camera.k1 = 0.0
+camera.k2 = 0.0
+camera.k3 = 0.0
diff --git a/release/scripts/presets/tracking_camera/Blackmagic_Production_Camera_4K.py b/release/scripts/presets/tracking_camera/Blackmagic_Production_Camera_4K.py
new file mode 100644 (file)
index 0000000..d644d2a
--- /dev/null
@@ -0,0 +1,9 @@
+import bpy
+camera = bpy.context.edit_movieclip.tracking.camera
+
+camera.sensor_width = 21.12
+camera.units = 'MILLIMETERS'
+camera.pixel_aspect = 1
+camera.k1 = 0.0
+camera.k2 = 0.0
+camera.k3 = 0.0