Configurable sensor size:
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Nov 2011 14:36:06 +0000 (14:36 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 4 Nov 2011 14:36:06 +0000 (14:36 +0000)
commit4ea816837de646af124ffc82758cae37950a0a51
tree771c7a0e084446080d6f6d12258585a479bf2887
parent82dc05391cdda573f1523325bfd4c6a2a5233323
Configurable sensor size:

- Added support of variable size sensor width and height.
- Added presets for most common cameras, also new presets can be defined by user.
- Added option to control which dimension (vertical or horizontal) of sensor
  size defines FOV. Old behavior of automatic FOV calculation is also kept.
- Renderer, viewport, game engine and collada importer/exporter should
  deal fine with this changes. Other exporters would be updated soon.
55 files changed:
release/scripts/presets/camera/APS-C_DSLR.py [new file with mode: 0644]
release/scripts/presets/camera/Blender.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_1100D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_1D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_1DS.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_500D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_550D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_5D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_600D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_60D.py [new file with mode: 0644]
release/scripts/presets/camera/Canon_7D.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D300S.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D3100.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D35.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D5000.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D5100.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D7000.py [new file with mode: 0644]
release/scripts/presets/camera/Nikon_D90.py [new file with mode: 0644]
release/scripts/presets/camera/Red_Epic.py [new file with mode: 0644]
release/scripts/presets/camera/Red_One_2K.py [new file with mode: 0644]
release/scripts/presets/camera/Red_One_3K.py [new file with mode: 0644]
release/scripts/presets/camera/Red_One_4K.py [new file with mode: 0644]
release/scripts/presets/camera/full_frame_35mm_film.py [new file with mode: 0644]
release/scripts/presets/camera/micro_four_thirds.py [new file with mode: 0644]
release/scripts/presets/camera/super_16_film.py [new file with mode: 0644]
release/scripts/presets/camera/super_35_film.py [new file with mode: 0644]
release/scripts/startup/bl_operators/presets.py
release/scripts/startup/bl_ui/properties_data_camera.py
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/object.c
source/blender/blenlib/BLI_math_rotation.h
source/blender/blenlib/intern/math_rotation.c
source/blender/blenlib/intern/uvproject.c
source/blender/blenloader/intern/readfile.c
source/blender/collada/CameraExporter.cpp
source/blender/collada/DocumentImporter.cpp
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_intern.h
source/blender/editors/space_view3d/view3d_view.c
source/blender/makesdna/DNA_camera_types.h
source/blender/makesrna/intern/rna_camera.c
source/blender/modifiers/intern/MOD_uvproject.c
source/blender/render/intern/include/render_types.h
source/blender/render/intern/source/envmap.c
source/blender/render/intern/source/initrender.c
source/gameengine/Converter/BL_BlenderDataConversion.cpp
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_Camera.h
source/gameengine/Ketsji/KX_KetsjiEngine.cpp
source/gameengine/Rasterizer/RAS_CameraData.h
source/gameengine/Rasterizer/RAS_FramingManager.cpp
source/gameengine/Rasterizer/RAS_FramingManager.h
source/gameengine/VideoTexture/ImageRender.cpp