Composition Mode


Compositing is the process by which the colors of objects are combined together. Besides its regular color values (red, green, and blue), an object may contain a channel to represent the transparency of the color. Commonly known as alpha channel, is used to represent the opacity of an object. In effect the opacity of an object controls how much of the object's color is used when compositing.

Terraview has the following types of composition modes:


clear

source

destiny

source over

destiny over

source in

destiny in

source out

destiny out

source a top

destiny a top

xor

plus

multiply

screen

overlay

darken

lighten

color doge

color burn

hard light

soft light

difference

exclusion


The Composition Mode component allows the user to define how the layer will be composed with other layers when they are drawn.

It is accessible through:

   Layer pop up > Composition Mode
                                                        > Default
(this is the default composition mode - source over)
                                                        > Plus
                                                        > Advanced...

The advanced option show a dialog for composition mode selection. This interface consists only in choosing the composition mode desired. Click Apply to set the composition mode to selected layer.


Raster Color Composition

One of the most practical applications for use composition mode is to display rasters in different layers resulting in a colored composition. Such as:

Layer A - Using the Style Explorer, the user associate the raster to channel Red.

Layer B - Using the Style Explorer, the user associate the raster to channel Green.

Layer C - Using the Style Explorer, the user associate the raster to channel Blue.

After this step, the user must set the composition mode for Layers B and C to "Plus".  When drawing the layers, the result will be a
color composite image.