Support for per-track Grease Pencil datablocks for motion tracking
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 10 Jun 2012 15:26:50 +0000 (15:26 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 10 Jun 2012 15:26:50 +0000 (15:26 +0000)
commit39e591d3d04015b84fe5f12e7ef5af6507df92af
tree9e529ea6658e526a56e108866aab9578209b6de8
parent5534701e5d7659d8fdd73ef64375116bb07463e8
Support for per-track Grease Pencil datablocks for motion tracking

Originally was needed to reach easy way of defining masks used for tracking
(do eliminate textures which doesn't belong to feature when tracking.

Implemented as alternative to GP datablock for clip and added switch between
per-clip and per-track GP datablocks -- internal limitations of GP doesn't
allow to display all GP datablocks easily.  So either you see.edit GP associated
with clip or with track.

GP strokes associated with track are relative to track's position, following
tracks during tracking and could be shared between several tracks.

Masking code presents in libmv and there's rasterizer of GP datablocks for
masks in blender's tracking module, but they still need to be glued together.

Some documentation cound be found at this page:

http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Motion_Tracker#Grease_Pencil
source/blender/blenloader/intern/readfile.c
source/blender/editors/gpencil/gpencil_buttons.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_clip/space_clip.c
source/blender/makesdna/DNA_space_types.h
source/blender/makesdna/DNA_tracking_types.h
source/blender/makesrna/intern/rna_movieclip.c
source/blender/makesrna/intern/rna_space.c
source/blender/makesrna/intern/rna_tracking.c