blender/release/scripts
Sergey Sharybin ed2ddc9f70 Support multiple distortion models, including a new division model
This commit makes it so CameraIntrinsics is no longer hardcoded
to use the traditional polynomial radial distortion model. Currently
the distortion code has generic logic which is shared between
different distortion models, but had no other models until now.

This moves everything specific to the polynomial radial distortion
to a subclass PolynomialDistortionCameraIntrinsics(), and adds a
new division distortion model suitable for cameras such as the
GoPro which have much stronger distortion due to their fisheye lens.

This also cleans up the internal API of CameraIntrinsics to make
it easier to understand and reduces old C-style code.

New distortion model is available in the Lens panel of MCE.

- Polynomial is the old well-known model
- Division is the new one which s intended to deal better with huge
  distortion.

Coefficients of this model works independent from each other
and for division model one probably want to have positive values
to have a barrel distortion.
2014-04-17 17:28:41 +06:00
..
addons@8ad356e332 Revert changes to submodules 2014-03-10 15:17:22 +06:00
addons_contrib@7485bc6b11 Revert changes to submodules 2014-03-10 15:17:22 +06:00
freestyle Fix for Sinus Displacement and 2D Offset stroke geometry modifiers. 2014-04-11 15:16:46 +09:00
modules Style cleanup: C & pep8 2014-04-15 13:11:48 +10:00
presets Fix T38881: cloth preset rubber not working with "translated data names" i18n option 2014-02-28 17:30:30 +01:00
startup Support multiple distortion models, including a new division model 2014-04-17 17:28:41 +06:00
templates_osl Code Cleanup: osl style 2014-01-06 13:58:33 +11:00
templates_py Style cleanup: C & pep8 2014-04-15 13:11:48 +10:00