16.2. 3D Outline
| 16. Filtros alfa para logo |

### 16.2. 3D Outline

#### 16.2.1. Overview

Figura 17.370. Example for the “3D Outline” filter

The “3D Outline” filter

The “3D Outline” logo

This filter is derived from the “3D Outline” script (File → Create → Logos → 3D Outline in the image window), which creates a logo (see above) with outlined text and a drop shadow.

The filter outlines the non-transparent areas of the active layer (determined from the Alpha channel) with a pattern and adds a drop shadow. Here, we will use the alpha term to refer to these areas of the active layer defined by the non-transparent pixels.

The filter uses the Sobel edge detect filter to get the alpha's outline. So with a simple alpha, for example a cleared rectangle selection, you will just get the boundary. But when you use a layer mask (don't forget to Apply the Layer Mask), as in the following example, the edge detector will find more edges and thus the filter effect will be applied to these edges too.

Figura 17.371. Example based on multicolored layer mask

With an layer mask (alpha) like this ...

... you will get this.

| Atenção
The image will always be resized to the active layer's size.

#### 16.2.2. Activate the filter

This filter is found in the image window menu under Filters → Alpha to Logo → 3D Outline.

The filter only works if the active layer has an alpha channel. Otherwise, the menu entry is insensitive and grayed out.

#### 16.2.3. Options

Figura 17.372. “3D Outline” options

Pattern

  Here you can see and change the currently selected pattern. When you click on the pattern, an enlarged preview will popup. Pressing the Browse... button opens a dialog where you can select a different pattern.

Outline blur radius

  This radius is used to blur the alpha before the edge detector will select the area to be filled with the pattern. That's why a high value results in a wide but smeared pattern:

  Figura 17.373. Outline blur radius example

  Radius: 5

  Radius: 20

  Radius: 40

Shadow blur radius

  This radius is used to blur the drop shadow. A high value will smear the shadow:

  Figura 17.374. Shadow blur radius example

  Radius: 10

  Radius: 20

  Radius: 40

Bumpmap (alpha layer) blur radius

  The Bump Map used to create a 3D effect is the active layer (alpha layer) with the edge detect filter applied. Before it is used to emboss the pattern layer, another Gaussian blur will be applied with the specified radius. So a high value will reduce the 3D effect.

Default bumpmap settings

  If checked (this is the default) the bump map plug-in will be applied with its default options. Otherwise, the Bump Map dialog window will popup while the filter is running, and you can choose different options. Note that, when you close the window pressing the Cancel button, no bump map at all will be applied.

Shadow X offset; Shadow Y offset

  This is the amount of pixels the shadow layer will me moved to the right (X) and down (Y). Then the layer will be clipped to the image size. Note that there is no real background layer, and moving the shadow will clear its original place:

  Figura 17.375. Shadow offset example

  X offset: 50; Y offset: 20

16. Filtros alfa para logo |  | 16.3. Alien Glow

Crie um relato de erro no Bugzilla