Difference between revisions of "Bevel Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
 
(30 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
{{Title|Bevel Layer}}
 
{{Title|Bevel Layer}}
 
{{Category|Layers}}
 
{{Category|Layers}}
 +
{{Category|Stylize}}
 +
{{TOCright}}
 +
{{NewTerminology}}
 
<!-- Page info end -->
 
<!-- Page info end -->
== About Bevel Layer ==
 
{{l|Image:Layer_icon.png|64px}} <small> At this moment it doens't have a specific icon so it uses the generic layer icon</small>
 
  
 +
{{l|Image:Layer_stylize_bevel_icon.png‎|64px}}
 +
 +
== About Bevel Layer ==
 
Bevel layer is used to create a highlight and shadow over a shape. It pretends to give some volume to the shape by adding a dark area on the opposite place of the light direction and a light area on the light direction side.
 
Bevel layer is used to create a highlight and shadow over a shape. It pretends to give some volume to the shape by adding a dark area on the opposite place of the light direction and a light area on the light direction side.
  
 
== Parameters of Bevel Layer ==
 
== Parameters of Bevel Layer ==
The parameters of the Outline Layers are:
+
The parameters of the Bevel Layers are:
{| border = "1" cellpadding="2"
+
{|{{Parameters}}
!width = "250" align="left"|
+
 
* {{l|Z Depth Parameter|Z Depth}}
+
|-style="background:#"
* {{l|Amount Parameter|Amount}}
+
||{{l|Image:Real_icon.png|16px}} {{l|Z Depth Parameter|Z Depth}}
* {{l|Blend Method}}
+
||0.000000
* {{l|Bevel Type Parameter|Type}}
+
||real
* {{l|Colors Dialog|Hi-Color}}
+
 
* {{l|Colors Dialog|Lo-Color}}
+
|-style="background:#eeeeee"
* {{l|Light Angle|Light Angle}}
+
||{{l|Image:Real_icon.png|16px}} {{l|Amount Parameter|Amount}}
* {{l|Depth of Bevel|Depth of Bevel}}
+
||1.000000
* {{l|Softness|Softness}}
+
||real
* {{l|Use Luma|Use Luma}}
+
 
* {{l|Solid|Solid}}
+
|-style="background:#"
| {{l|Image:Bevel-Layer-Default-Params.png}}
+
||{{l|Image:Integer_icon.png|16px}} {{l|Blend Method|Blend Method}}
 +
||Composite
 +
||integer
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Integer_icon.png|16px}} {{l|Blur Layer|Type}}
 +
||Fast Gaussian Blur
 +
||integer
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Color_icon.png|16px}} {{l|Colors Dialog|Hi-Color}}
 +
|| {{Color|ffffff}}
 +
||color
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Color_icon.png|16px}} {{l|Colors Dialog|Lo-Color}}
 +
|| {{Color|716600}}
 +
||color
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Angle_icon.png|16px}} {{l|Light Angle Parameter|Light Angle}}
 +
||135.00°
 +
||angle
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Real_icon.png|16px}} {{l|Depth of Bevel Parameter|Depth of Bevel}}
 +
||12.000000pt
 +
||real
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Real_icon.png|16px}} {{l|Softeness Parameter|Softness}}
 +
||6.000000pt
 +
||real
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Bool_icon.png|16px}} {{l|Use Luma Parameter|Use Luma}}
 +
|| {{Bool|}}
 +
||bool
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Bool_icon.png|16px}} {{l|Solid Parameter|Solid}}
 +
|| {{Bool|}}
 +
||bool
 +
 
 +
|-
 
|}
 
|}
  
Line 36: Line 84:
  
 
Modifying the light angle changes the regions that are high lighted and darkened. It is an angle parameter and it is defined from the X positive axis counter clock wise.
 
Modifying the light angle changes the regions that are high lighted and darkened. It is an angle parameter and it is defined from the X positive axis counter clock wise.
 +
 +
=== Depth of Bevel ===
 +
The Depth of Bevel parameter determines the width or expansion of the bevel on both sides (dark and light side). The bigger the parameter is the softer the produced bevel is.
 +
 +
=== Softness ===
 +
Softness parameter controls how feathered is the bevel. Its type of feather is controlled by the Type parameter.
 +
 +
=== Use Luma ===
 +
Please write me.
 +
 +
=== Solid ===
 +
Please write me.
 +
 +
== Samples ==
 +
 +
Here you can find some visual examples of hos does the parameters affect to the bevel. Unless specified, all parameters are the default ones:
 +
 +
<small>The Blend Method has been set to Onto in the following image</small>
 +
 +
{{l|Image:Bevel-sample2.png}}
 +
 +
{{l|File:Bevel-sample1.sifz‎}}
 +
 +
Here you can see a sample usage of Solid and Use Luma parameters:
 +
 +
{{l|Image:Bevel-sample3.png}}
 +
 +
{{l|File:Bevel-sample2.sifz‎}}
 +
 +
One usage of Solid parameter combined with Hard Light Blend Method in the resulting bevel over the gradient.
 +
 +
{{l|Image:Bevel-solid-hardlight.png}}
 +
 +
{{l|File:Bevel-solid-hardlight.sifz}}

Latest revision as of 23:16, 2 March 2017

Languages Language: 

English



Layer stylize bevel icon.png

About Bevel Layer

Bevel layer is used to create a highlight and shadow over a shape. It pretends to give some volume to the shape by adding a dark area on the opposite place of the light direction and a light area on the light direction side.

Parameters of Bevel Layer

The parameters of the Bevel Layers are:

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 integer icon.png Type Fast Gaussian Blur integer
Type color icon.png Hi-Color
 
color
Type color icon.png Lo-Color
 
color
Type angle icon.png Light Angle 135.00° angle
Type real icon.png Depth of Bevel 12.000000pt real
Type real icon.png Softness 6.000000pt real
Type bool icon.png Use Luma
 
bool
Type bool icon.png Solid
 
bool

Specific Parameters for Bevel Layers

Only particular parameters of the Bevel Layer are described here. The other parameters are common for other layers and are explained separately.

The Bevel Layer produces two effects over the context of the layer that are based on the Alpha channel of each pixel of the context. Imagine that the Bevel Layer traces light rays from the light source. When the ray line finds a transition from transparent to solid it creates a light region (Hi-color). When the ray finds a transition from solid to transparent it creates a shadow region (Lo-color). The Light Angle parameter determines the source of the light. The Depth of Bevel determines how wide is the region of light or shadow created and the Softness parameter produces a feathered light or shadow region instead of a sharp one. The feather type is determined by the Type parameter and can be one of the known Blur Types.

Bevel1.png

Light Angle

Modifying the light angle changes the regions that are high lighted and darkened. It is an angle parameter and it is defined from the X positive axis counter clock wise.

Depth of Bevel

The Depth of Bevel parameter determines the width or expansion of the bevel on both sides (dark and light side). The bigger the parameter is the softer the produced bevel is.

Softness

Softness parameter controls how feathered is the bevel. Its type of feather is controlled by the Type parameter.

Use Luma

Please write me.

Solid

Please write me.

Samples

Here you can find some visual examples of hos does the parameters affect to the bevel. Unless specified, all parameters are the default ones:

The Blend Method has been set to Onto in the following image

Image:Bevel-sample2.png

File:Bevel-sample1.sifz

Here you can see a sample usage of Solid and Use Luma parameters:

Image:Bevel-sample3.png

File:Bevel-sample2.sifz

One usage of Solid parameter combined with Hard Light Blend Method in the resulting bevel over the gradient.

Image:Bevel-solid-hardlight.png

File:Bevel-solid-hardlight.sifz


Languages Language: 

English