forked from bartvdbraak/blender
Camera presets changes
- Fixed typo in Canon C300 camera name - Added preset for Nexus5
This commit is contained in:
parent
32ba1ce1c1
commit
df34df50f7
5
release/scripts/presets/camera/Nexus_5.py
Normal file
5
release/scripts/presets/camera/Nexus_5.py
Normal file
@ -0,0 +1,5 @@
|
||||
import bpy
|
||||
bpy.context.object.data.sensor_width = 4.5
|
||||
bpy.context.object.data.sensor_height = 3.37
|
||||
bpy.context.object.data.lens = 3.91
|
||||
bpy.context.object.data.sensor_fit = 'HORIZONTAL'
|
11
release/scripts/presets/tracking_camera/Nexus_5.py
Normal file
11
release/scripts/presets/tracking_camera/Nexus_5.py
Normal file
@ -0,0 +1,11 @@
|
||||
import bpy
|
||||
camera = bpy.context.edit_movieclip.tracking.camera
|
||||
|
||||
camera.sensor_width = 4.5
|
||||
camera.units = 'MILLIMETERS'
|
||||
camera.focal_length = 3.91
|
||||
camera.pixel_aspect = 1
|
||||
camera.k1 = 0.0
|
||||
camera.k2 = 0.0
|
||||
camera.k3 = 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user