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

iPhone_4S.py « tracking_camera « presets « scripts « release - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2569f9b412b354f5a913e5bc7ab287b688c4e6ac (plain)
1
2
3
4
5
6
7
8
9
10
11
import bpy
camera = bpy.context.edit_movieclip.tracking.camera

camera.sensor_width = 4.54
camera.units = 'MILLIMETERS'
camera.focal_length = 4.28
camera.pixel_aspect = 1
camera.k1 = 0.0
camera.k2 = 0.0
camera.k3 = 0.0