Masking support for motion tracks
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 12 Jun 2012 11:13:53 +0000 (11:13 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 12 Jun 2012 11:13:53 +0000 (11:13 +0000)
commit552887251fa984cc7ff8e15aed59e82227d47c22
treed76816f93fd577580dbd423e5347637ade211d13
parentbc6929fcdd87a1eaa721459cd57a25ecfa8bf0d4
Masking support for motion tracks

Added option to use Grease Pencil datablock as a mask for pattern
when doing motion tracking. Option could be found in Tracking Settings
panel.

All strokes would be rasterized separately from each other and every
stroke is treating as a closed spline.

Also added option to apply a mask on track preview which is situated
just after B/B/W channel button under track preview.
14 files changed:
extern/libmv/libmv-capi.cpp
extern/libmv/libmv-capi.h
extern/libmv/libmv/tracking/track_region.cc
extern/libmv/libmv/tracking/track_region.h
release/scripts/startup/bl_ui/space_clip.py
source/blender/blenkernel/BKE_tracking.h
source/blender/blenkernel/intern/movieclip.c
source/blender/blenkernel/intern/tracking.c
source/blender/editors/interface/interface_draw.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/space_clip/space_clip.c
source/blender/makesdna/DNA_movieclip_types.h
source/blender/makesdna/DNA_tracking_types.h
source/blender/makesrna/intern/rna_tracking.c