Blender Git Loki

Git Commits -> Revision 0f0be92

July 14, 2013, 16:21 (GMT)
Add constraints for focal length refinement

The user can apply a ranged constraint to the focal length during refinement. When the focal length is selected for refinement in the solve panel, a constraint can be applied by checking "Constrain Focal Length" and entering the appropriate minimum and maximum values. The camera focal length will only be refined within this range. This is useful when an unconstrained refinement gives an incorrect result and a suitable range is known.

This includes the following changes:
- Addition of constraint UI with corresponding RNA properties. The constraint is displayed in the same units chosen for the camera focal length. The values are restricted such that min is no greater than focal length and max is no less than it.
- Data structure modifications to allow passing of constraint values from the UI to libmv.
- Modifications to the libmv simple pipeline API to incorporate constraints.
- Constraining focal length when interfacing with Ceres (which only does unconstrained solving) through a sinusoidal mapping.

Results of tests are given at: http://wiki.blender.org/index.php/User:Sftrabbit/GSoC_2013/Documentation/Constraint_Tests

Commit Details:

Full Hash: 0f0be925bb0ebbba32a2f9f6aaebfd22b2c5bdb9
SVN Revision: 58239
Parent Commit: 7d53177
Lines Changed: +354, -57

9 Modified Paths:

/extern/libmv/libmv-capi.cc (+36, -13) (Diff)
/extern/libmv/libmv-capi.h (+2, -0) (Diff)
/extern/libmv/libmv/simple_pipeline/bundle.cc (+118, -30) (Diff)
/extern/libmv/libmv/simple_pipeline/bundle.h (+28, -3) (Diff)
/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+13, -0) (Diff)
/source/blender/blenkernel/intern/tracking.c (+11, -3) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+5, -3) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+139, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021