Blender Git Commit Log
Git Commits -> Revision 9f3c921
Revision 9f3c921 by Sergey Sharybin (master) November 28, 2011, 13:49 (GMT) |
Camera tracking: moved camera solver into it's own job In some cases solving can take a while (especially when refining is used) and keeping interface locked is a bit annoying. Now camera solver is moved to job system and interface isn't locking. 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: 9f3c921957124d65aa0d2cbc4ad2aacb56411670
SVN Revision: 42215
Parent Commit: 24cc4a6
Lines Changed: +531, -101
2 Added Paths:
/extern/libmv/libmv/simple_pipeline/callbacks.cc (+29, -0) (View)
/extern/libmv/libmv/simple_pipeline/callbacks.h (+33, -0) (View)
/extern/libmv/libmv/simple_pipeline/callbacks.h (+33, -0) (View)
11 Modified Paths:
/extern/libmv/CMakeLists.txt (+2, -0) (Diff)
/extern/libmv/libmv-capi.cpp (+38, -6) (Diff)
/extern/libmv/libmv-capi.h (+5, -1) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.cc (+42, -4) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+9, -3) (Diff)
/source/blender/blenkernel/intern/tracking.c (+184, -60) (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 (+160, -18) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+6, -0) (Diff)
/extern/libmv/libmv-capi.cpp (+38, -6) (Diff)
/extern/libmv/libmv-capi.h (+5, -1) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.cc (+42, -4) (Diff)
/extern/libmv/libmv/simple_pipeline/pipeline.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+9, -3) (Diff)
/source/blender/blenkernel/intern/tracking.c (+184, -60) (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 (+160, -18) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+6, -0) (Diff)