Bevel Layer

From Synfig Studio :: Documentation
Jump to: navigation, search
Line 32: Line 32:
 
||{{l|Image:Color_icon.png|18px}} {{l|Colors Dialog|Hi-Color}}
 
||{{l|Image:Color_icon.png|18px}} {{l|Colors Dialog|Hi-Color}}
 
||
 
||
{| style="width:95%; height:18px; background:white; color:white" border="1"
+
{| style="width:100%; height:18px; background:white; color:white" border="1"
 
|-  
 
|-  
 
|}
 
|}

Revision as of 09:05, 15 July 2010

Languages Language: 

English


About Bevel Layer

Layer stylize bevel icon.png

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 Outline 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 DEG 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