Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-02-19 14:02:24 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-19 14:07:12 +0400
commit0673f86334f3ac8462d70e5ec1cd6c4b7c197c52 (patch)
tree1e2621f489bf2401851e391f97b8e4ca7513e35f /release/scripts/presets/camera/Arri_Alexa.py
parenta64b612ae2d6e33afa2aa095ee464a6e8f53eb55 (diff)
Update the camera presets in various ways:
* Switch to using Canon sensor type instead of camera models. There are a ton of camera models that reuse the same sensor so it's just confusing and forever incomplete to try and cover all models. * Delete all redundant Canon camera models.. * Leave only the Canon camera models that are special, that is have non regular sensor sizes. * Fix a few errors in some Canon models. * Capitalize a few unrelated sensor presets for consistency. * Added presets for GoPro and iPhone. Their distortion models and shutter isn't really supported ATM but tracker is robust enough to give reasonable tracking and solving results. Presets are from Daniel Salazar and Sebastian Koenig, thanks! Differential Revision: https://developer.blender.org/D264
Diffstat (limited to 'release/scripts/presets/camera/Arri_Alexa.py')
-rw-r--r--release/scripts/presets/camera/Arri_Alexa.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/presets/camera/Arri_Alexa.py b/release/scripts/presets/camera/Arri_Alexa.py
new file mode 100644
index 00000000000..2bdcf12240b
--- /dev/null
+++ b/release/scripts/presets/camera/Arri_Alexa.py
@@ -0,0 +1,4 @@
+import bpy
+bpy.context.object.data.sensor_width = 23.760
+bpy.context.object.data.sensor_height = 13.365
+bpy.context.object.data.sensor_fit = 'HORIZONTAL'