Blender Git Commit Log

Git Commits -> Revision e228849

Revision e228849 by Sergey Sharybin (master)
November 22, 2011, 14:45 (GMT)
Camera tracking: expose progress and status from camera solver into interface

Reporting progress isn't really accurate, but trying to make it more linear
can lead to spending more effort on it than having benefit. Also, changing
status in the information line helps to understand that blender isn't hang
up and solving is till working nicely.

Main changes in code:
- libmv_solveReconstruction now accepts additional parameters:

* progress_update_callback - a function which is getting called
from solver algorithm to report progress back to Blender.
* callback_customdata - a user-defined context which is passing
to progress_update_callback so progress can be updated in needed
blender-side data structures.

This parameters are optional.

- Added structure MovieTrackingStats which is placed in MovieTracking
structure. It's supposed to be used for displaying information about
different operations (currently it's only camera solver, but can be
easily used for something else in the future) in clip editor.
This statistics structure is getting allocated for time operator is
working and not saving into .blend file.

- Clip Editor now displays statistics stored in MovieTrackingStats structure
like it's done for rendering.

Commit Details:

Full Hash: e22884966656e19339b509024894f674e0ee3afb
SVN Revision: 42067
Parent Commit: f48e1b5
Lines Changed: +106, -40

10 Modified Paths:

/extern/libmv/libmv-capi.cpp (+12, -4) (Diff)
/extern/libmv/libmv-capi.h (+5, -1) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.cc (+18, -4) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.h (+5, -1) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+16, -16) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+19, -8) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+22, -5) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021