Outline Layer

From Synfig Studio :: Documentation
< Outline Layer
Revision as of 16:38, 2 April 2012 by Zurba11 (Talk | contribs) (Created page with "<!-- Page info --> {{Title|Outline Layer}} {{Category|Layers}} <!-- Page info end --> {{l|Image:Layer_geometry_outline_icon.png|64px}} == О кривых контура == К...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Languages Language: 

English • español • français • italiano • română • русский


Layer geometry outline icon.png

О кривых контура

Кривые контура используются для создания штрихов или окантовки залитых цветом областей, они придают "комиксный" вид анимации если обрисовать ими залитые цветом области. Также отдельные кривые контура (штрихи) используются для создания реалистичных объёмных рисунков и вместе с тенями (созданными градиентом или размыванием) являются основами создания художественной работы.

Чтобы создать кривую контура используйте инструмент "Кривые" BLine Tool/ru и выставьте флажок "Создать кривую контура" (Create Outline BLine) на Панели "Параметры инструмента" Tool Options Panel. Когда вы закончили создавать форму кривой контура и нажали кнопку "Создать" (или выбрали другой инструмент) можно считать что кривая создана, её цвет будет соответствовать выбранному для контура.

Параметры кривой контура

Ниже представлены параметры кривой контура:

Name Value Type
Type real icon.png Z Depth 0.000000 real
Type real icon.png Amount 1.000000 real
Type integer icon.png Blend Method Composite integer
Type color icon.png Color
color
Type vector icon.png Origin 0.000000u,0.000000u vector
Type bool icon.png Invert
bool
Type bool icon.png Antialiasing
bool
Type real icon.png Feather 0.000000pt real
Type integer icon.png Type of Feather Fast Gaussian Blur integer
Type integer icon.png Winding Style Non Zero integer
Type list icon.png Vertices List list (BLine)
Type real icon.png Outline Width 2.000000pt real
Type real icon.png Expand 0.000000pt real
Type bool icon.png Sharp Cusps
bool
Type bool icon.png Rounded Begin
bool
Type bool icon.png Rounded End
bool
Type real icon.png Loopyness 1.000000 real
Type bool icon.png Homogeneous
bool




















Специфические параметры кривой контура

Первые 11 параметров кривой контура стандартные и их можно наблюдать для разных типов слоёв, кликните на ссылку чтобы прочитать их описания. Здесь описаны только параметры относящиеся именно к кривой контура.

Ниже представлен скриншот с кривой контура в процессе создания:

Image:Outline_Sample.png

Outline width

The Outline width parameter is a float value in pixels that represents the basic value of the width for all the points of the curve at the same time. It works together with the width parameter of the vertices' child values. So setting the Outline Width to 1.0px then the resulting value for the rendered width in that vertex comes from this formula: W = OLW * VW + 2E.

Where:

  • W = resulting width of the outline at that vertex.
  • OLW = overall parameter for the width of all the vertices (that is the Outline Width parameter).
  • VW = specific vertex width value.
  • E = value of the Expand parameter.

The width duck would show the radius value for that vertex (W/2).

The width that ends up being used for each vertex is ((VertexWidth * OutLineWidth) + Expand*2):

Image:Outline-default.png Image:Outline-outline-width.png
starting image after doubling the value of 'outline width'

It's possible to specify negative values for the width values, which kind of turns the vertex inside out. Here's an example where the left vertex has a negative width and the right has a positive width. Note how the edges of the bline between the vertices cross each other in the middle:

Image:Outline-negative-width.png Image:Outline-negative-width-selected.png

Expand

The Expand parameter is similar to the Outline Width parameter, but rather than being multiplied by each vertex's width, it is added to the radius of each vertex. In other words (2*Expand) is added to the diameter of each vertex.

The width that ends up being used for each vertex is ((VertexWidth * OutLineWidth) + Expand*2):

Image:Outline-default.png Image:Outline-expand.png
zero 'expand' non-zero 'expand'

Sharp cups

Enabling 'sharp cusps' makes the corners pointy when the tangents are split:

Image:Outline-default.png Image:Outline-sharp-cusps.png
no sharp cusps sharp cusps

Rounded Begin

Enabling 'rounded begin' makes the start of the outline rounded:

Image:Outline-default.png Image:Outline-rounded-begin.png
no rounded begin rounded begin

Rounded End

Enabling 'rounded end' makes the end of the outline rounded:

Image:Outline-default.png Image:Outline-rounded-end.png
no rounded end rounded end

Loopyness

This parameter currently does absolutely nothing at all!

Homogeneous

Enabling 'Homogeneous' changes the way that the width of the outline changes from one blinepoint to the next. Each point in the bline has its own width, and the bline has its own 'Outline Width' and 'Expand' parameters which are used to give the final width at each blinepoint. The 'Homogeneous' parameter controls how the width is interpolated between two neighbouring blinepoints:

  • When 'Homogeneous' isn't checked, the width is interpolated linearly with the spline's 't' parameter.
  • When 'Homogeneous' is checked, the width is interpolated linearly with the spline's length.

Turning off homogeneous often makes the fat end of a bline look lumpy. Maybe that's a bug:

Image:Outline-not-homogeneous.png Image:Outline-homogeneous.png
not homogeneous homogeneous

Misc

The 'antialias' checkbox isn't specific to the Outline layer, but it is particularly useful for the Outline layer. It makes the edges appear smoother:

Image:Outline-no-antialias.png Image:Outline-default.png
not antialiased antialiased


Languages Language: 

English • español • français • italiano • română • русский