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

iPhone_4.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e43cd11494b3078845b23fc3fb2f6c56d30c6f4 (plain)
1
2
3
4
5
import bpy
bpy.context.camera.sensor_width = 4.54
bpy.context.camera.sensor_height = 3.42
bpy.context.camera.lens = 3.85
bpy.context.camera.sensor_fit = 'HORIZONTAL'