Logo
Explore Help
Register Sign In
griefith/test
1
0
Fork 0
You've already forked test
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
91e2b1dcafe08de79ad0237e54bd82f29e8e9fc9
test/release/scripts/presets/camera/Analog_IMAX.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
137 B
Python
Raw Normal View History

Update Camera presets The (tracking) camera presets have not been updated in the last 7 or more years, so they are very outdated. I found it pointless to have a few specific camera models in the list and instead add the most commonly used sensor sizes/film sizes. This way the list is shorter, easier to maintain/becomes later outdated, and is more user friendly for most people who don't own any of the specific cameras. I added the Crop Factor to the Beginning of the name, so it gets sortet in the correct order and presets are easier to find based on the size. Reviewed By: #render_cycles, #motion_tracking, brecht, sergey Differential Revision: https://developer.blender.org/D10739
2021-06-04 11:50:23 +02:00
import bpy
bpy.context.camera.sensor_width = 71.41
bpy.context.camera.sensor_height = 52.63
Cleanup: ensure one newline at end of file, strip trailing space
2021-07-15 17:53:26 +10:00
bpy.context.camera.sensor_fit = 'HORIZONTAL'
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 75ms Template: 1ms
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