Logo
Explore Help
Register Sign In
Cr8-xyz/blender
1
0
Fork 0
You've already forked blender
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
813ece7f7973cf094e92136fbbda17a98ef7e734
blender/release/scripts/presets/camera/GoPro_Hero3_Silver.py

7 lines
183 B
Python
Raw Normal View History

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
2014-02-19 16:02:24 +06:00
import bpy
bpy.context.object.data.sensor_width = 5.371
bpy.context.object.data.sensor_height = 4.035
bpy.context.object.data.lens = 2.77
bpy.context.object.data.sensor_fit = 'AUTO'
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 255ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API