16.2. 3D Outline

16.2.1. Overview

图 16.339. Example for the 3D Outline filter

Example for the “3D Outline” filter

The 3D Outline filter

Example for the “3D Outline” filter

The 3D Outline logo


This filter is derived from the 3D Outline script (FileCreateLogos3D 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.

图 16.340. Example based on multicolored layer mask

Example based on multicolored layer mask

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

Example based on multicolored layer mask

... you will get this.


[警告] 警告

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 FiltersAlpha to Logo3D 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

图 16.341. 3D Outline options

“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:

图 16.342. Outline blur radius example

Outline blur radius example

Radius: 5

Outline blur radius example

Radius: 20

Outline blur radius example

Radius: 40


Shadow blur radius

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

图 16.343. Shadow blur radius example

Shadow blur radius example

Radius: 10

Shadow blur radius example

Radius: 20

Shadow blur radius example

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:

图 16.344. Shadow offset example

Shadow offset example

X offset: 50; Y offset: 20