diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-28 17:49:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-11-28 17:49:42 +0400 |
commit | 9f3c921957124d65aa0d2cbc4ad2aacb56411670 (patch) | |
tree | 1aa3e3eb139ce638afba27cc129dbfd167446728 /source/blender/editors/include/ED_render.h | |
parent | 24cc4a6c2188f8143282851b19c11f0b61d41475 (diff) |
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.
Diffstat (limited to 'source/blender/editors/include/ED_render.h')
0 files changed, 0 insertions, 0 deletions