Blender Git Commit Log

Git Commits -> Revision f25e7d6

Revision f25e7d6 by Sergey Sharybin (master)
May 8, 2013, 14:20 (GMT)
Mask modifier for sequences

This modifier uses a mask set in the modifier settings
and multiplies strip by it. Alpha channel will also be
multiplied by mask, which makes it easy to mask some
objects on footage and alpha-over them in sequencer.

Actually, this modifier sets alpha for byte strips
directly (since byte is always straight alpha) and
multiplies float buffer by mask (flaots are premulled)
so in both cases masked strip could be easy alpha-overed
without any artifacts.

It uses own structure with only SequenceModifierData
property in to preserve both forward and backwards
compatibilities (using new structure ensures modifier
will be ignored on load in older blenders, the same
happens for mesh modifiers actually).

Request from Pablo Vazquez.

Commit Details:

Full Hash: f25e7d62b3023812eb594250d22e142c02533482
SVN Revision: 56582
Parent Commit: 89eb80f
Lines Changed: +72, -0

3 Modified Paths:

/source/blender/blenkernel/intern/seqmodifier.c (+66, -0) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021