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
This commit is contained in:
Sergey Sharybin
2014-02-19 16:02:24 +06:00
parent a64b612ae2
commit 0673f86334
79 changed files with 294 additions and 153 deletions

View File

@@ -0,0 +1,10 @@
import bpy
camera = bpy.context.edit_movieclip.tracking.camera
camera.sensor_width = 24.89
camera.units = 'MILLIMETERS'
camera.pixel_aspect = 1
camera.k1 = 0.0
camera.k2 = 0.0
camera.k3 = 0.0