Blender Git Loki

Git Commits -> Revision 4b3e624

Revision 4b3e624 by Sergey Sharybin (soc-2011-tomato)
August 7, 2013, 07:45 (GMT)
Mask points now could be parented to the plane track

MaskParent structure was extended by:
- type, which indicates whether it's a parent to point
or plane track. Types might be extended further.

- Original corners, which are used to obtain homography
used to deform point's coordinate.

Homoraphy is detecting between original corners position
(corners at the parenting time) and current plne corners,
and the it's being applied on mask point coordinate.

Some tricks with switching between mask and clip coords
is needed, but it's all pretty much straightforward in
the code.

Parenting happens on spline point level, not spline one.
This fits existing design, and it's not so big difference
for artist.

Parenting operator (Ctrl-P) might for sure be used to
parent points to the active plane track.

Additional change: added visualization of plane corners
orientation. Corner which corresponds to left bottom
image corner now has got two axis: red which corresponds
to X axis, and green one for Y axis. This way it's
easier to orient corners on the footage.

Commit Details:

Full Hash: 4b3e6244f81c0fc8ea0e3e42de2453c8e524ffab
SVN Revision: 58988
Parent Commit: c7411ea
Lines Changed: +204, -55

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2019