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

iPhone_5.py « camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6b6bbc2ec542a6e4f993bf1d08e12dcb17c0b0c (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 = 4.10
bpy.context.camera.sensor_fit = 'HORIZONTAL'