support@demenzunmedia.com
BC Canada

Weightmap Menu

The mask extractor devices provide a variety of algorithms for extracting grayscale alpha/mask/weightmap data from terrain heightmaps.
The extracted mask data is commonly used in rendering engines and video game engines for terrain material layer systems and splatmap materials and foliage mesh scattering

A few typical masks for terrain texturing includes:
– High Altitudes for mountain snow caps.
– Low altitudes for lakes or oceans.
– Flat Slopes for grasslands and grass mesh scattering.
– Steep Slopes for mountain cliff faces.

Note: In addition to the devices on the Extract menu, some of the Transform devices also can output masks, including the erosion devices.

Each mask extractor device dialog provides a centralized area for controlling all of the mask parameters.
The dialog includes a large 2D preview window, a function toolbar and information status bar, and multiple sliders and numeric controls to enter in values to modify the mask properties.

Preview Viewport
The preview viewport shows the current mask image.

Preview Toolbar
The preview toolbar includes buttons for the following functions:
Real-Time Preview – toggles real-time preview.
View Datamap – view the source datamap image.
View Mask – view the extracted mask image.
View Overlay – view the mask overlaid on the datamap.
Zoom To Fit – zoom the image to fit the preview region.
Zoom 50%, 100%, 200% – zoom to the specified zoom level.
Pointer Mode – mouse pointer mode.

Preview Statusbar
The preview statusbar displays current extractor information.
Preview Build Time – the time in milliseconds to extract the mask data.
X,Y Coordinate – the current mouse X,Y coordinate.
Datamap Value – the current datamap value at the mouse coordinate.
Mask Value – the current mask value at the mouse coordinate.
Datamap Size – the current datamap dimensions.

Parameters Group
The parameters group contains controls for specifying the mask extraction properties.

Smooth Group
The smooth group contains controls for specifying the optional Averaging Blur that is applied to the mask.
The Bypass checkbox enables or disables the Blur function.
The Size controls specify the dimensions of the Blue box.
The Strength controls specify the amount or depth of Blurring.

File Output Group
The file output group contains controls allowing for saving the mask to a file on disk.
The Format drop-down allows choosing the file output format.
The File Name text box allows specifying the name of the mask file.
The ellipses “…” button performs a Save As function.
The disk button performs a Save function.

Dialog Buttons
Close – close the dialog.
Preview – build the mask preview, see Real-Time Preview above.
Copy – copy the current dialog settings to the clipboard.
Paste – paste the current clipboard to the dialog settings.
Reset – reset the controls to the initial settings when the dialog was opened.
Default – set the controls to the default settings