Go to file
Sergey Sharybin 1af69b6df3 Implement asymmetric and free handles type for masks
Summary:
The title actually says it all, it's just possible to
have independent free handles for mask splines. Also
it's now possible to have aligned handles displayed
as independent handles.

Required changes in quite a few places, but they're
rather straightforward.

From user perspective there's one really visible change
which is removed Handle Type menu from the panel. With
asymmetric handles it's not clear which handle type to
display there. So now the only way to change handle type
is via V-key menu.

Rewrote normal evaluation function to make it deal
with new type of handles we support. Now it works in
the following way:

- Offset the original spline by maximal weight
- Calculate vector between corresponding U positions
  on offset and original spline
- Normalize this vector.

Seems to be giving more adequate results and doesn't
tend to self-intersect as much as old behavior used to,

There're still some changes which needed to be done, but
which are planned for further patch:

- Support colors and handle size via themes.
- Make handles color-coded, just the same as done for
  regular bezier splines in 3D viewport.

Additional changes to make roto workflow even better:
- Use circles to draw handles
- Support AA for handles
- Change click-create-drag to change curvature of the
  spline instead of adjusting point position.

Reviewers: campbellbarton

CC: sebastian_k, hype, cronk

Differential Revision: http://developer.blender.org/D121
2014-03-28 17:54:38 +06:00
build_files Windows: Upgrade FFmpeg from 0.10 to 2.1.4 2014-03-27 16:52:59 +06:00
doc Bump version to Blender2.70rc and new splash 2014-03-06 04:40:49 +11:00
extern Unbreak carve build for clang 2014-03-28 14:41:04 +06:00
intern Make blender compilable with FFmpeg-0.8.1 2014-03-27 19:12:21 +06:00
release Implement asymmetric and free handles type for masks 2014-03-28 17:54:38 +06:00
scons@59512aadd1 Revert changes to submodules 2014-03-10 15:17:22 +06:00
source Implement asymmetric and free handles type for masks 2014-03-28 17:54:38 +06:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore .gitignore: Adding CMakeLists.txt.user for QtCreator users. 2014-01-26 17:52:14 -08:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Windows: Upgrade FFmpeg from 0.10 to 2.1.4 2014-03-27 16:52:59 +06:00
COPYING
GNUmakefile Found another place where nproc can be used 2014-03-02 10:29:40 +01:00
SConstruct Splash screen: use a retina resolution image for Mac OS X. 2014-02-18 19:38:44 +01:00