Blender Git Loki

Git Commits -> Revision 0bb215e

Revision 0bb215e by Sergey Sharybin (master)
June 22, 2011, 14:54 (GMT)
Camera tracking integraiton
===========================

- Corrected copyrights in my new files header.
- Added debug option to dump as PNG image content of search
areas tracking between which was failed.
- Removed internal tracking settings like pyramid level and
tolerance. Weren't useful neither for me nor for artists.
- Fixed bug in BKE_tracking_get_marker which could lead
to failure of getting marker for current frame when
there's marker for requested frame.
- Fixed bug with disappearing markers after tracking for
cases when marker was added at frame different from
tracking start frame and tracking start frame is
equal to tracking end frame.
- Stop tracking when no markers could be tracked.
- Changed marker selection rules:
* If marker isn't selected, all it's areas are getting
selected with mouse.
* If marker is selected and selection type doesn't have
"extend" mode (SHIFT isn't holded down) the nearest
to mouse cursor area would be selected. All the reast areas
would loose selection.
- Limit number of frames which would be used in "Track Markers"
operator. So now you could easily track along 10/20/etc frames.
- Change scene current frame after "Track Markers" operator.
- Implemented speed limitors. Now tracking could happen:
* As fast as possible
* With reatime speed (scene FPS)
* With half of realtime speed
* With quarter of realtime speed.
- Got rid of orig_user in MovieTrackingContext and user
in TrackMarkersJob. This prevents crashes when user
joins some space to SpaceClip from which tracking was started.
- Made keyframes on path bigger and do not draw keyframes for
non-selected markers.

TODO: need to get rid of storing main, scene and screen
in TrackMarkersJob. This is needed to set scene's
current frame after tracking (such behavior is comfortable
for artists) but this could lead to crash if scene is
getting removed when tracking job is running.

Render animation operator also stores scene and main,
so such solution could be fine for first time before
we've got something smarter.

Commit Details:

Full Hash: 0bb215eece44965d38ba1b0945d2dfa635847492
SVN Revision: 37733
Parent Commit: 68b7d48
Lines Changed: +329, -136

24 Modified Paths:

/extern/libmv/CMakeLists.txt (+1, -1) (Diff)
/extern/libmv/libmv-capi.cpp (+118, -3) (Diff)
/extern/libmv/libmv-capi.h (+1, -1) (Diff)
/extern/libmv/libmv/tracking/trklt_region_tracker.cc (+1, -1) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+5, -5) (Diff)
/source/blender/blenkernel/BKE_moviecache.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_movieclip.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+3, -4) (Diff)
/source/blender/blenkernel/intern/moviecache.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/tracking.c (+19, -20) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/space_clip/clip_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+32, -12) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_header.c (+1, -1) (Diff)
/source/blender/editors/space_clip/clip_intern.h (+1, -2) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+1, -1) (Diff)
/source/blender/editors/space_clip/CMakeLists.txt (+2, -0) (Diff)
/source/blender/editors/space_clip/space_clip.c (+1, -2) (Diff)
/source/blender/editors/space_clip/tracking_ops.c (+97, -49) (Diff)
/source/blender/makesdna/DNA_movieclip_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+12, -4) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+22, -23) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021