Viz Plug-ins User Guide

Version 5.1 | Published December 12, 2023 ©

Alpha Map

images/download/thumbnails/114312090/ico_amap.png
The Alpha Map plug-in enables the creation of an alpha map from a grayscale image by translating the intensity of the grayscale image to an opacity (alpha) value. This is useful for entities which do not directly support an image as their alpha channel.

The plug-in does not accept an arbitrary image even if it only contains grayscale values. The image format must be luminance, for example, a single channel containing intensity values.

If a RGB image in dropped onto the plug-in, an error message is generated:

ERROR in plug-in AlphaMap: Image <8AFD1E04-B938-41D1-A743CF251028403B> not a valid luminance or alpha image

Note: This plug-in is located in: Plugins -> Geom plug-ins -> Default

Alpha Map Properties

  • Detail: Sets the detail level of the map, the lower the value the higher the level of detail.

  • Image: Drag the image to create the map to the drop zone. The image must be a valid alpha image.

  • X-size: Sets the size of the map along the X-axis.

  • Y-size: Sets the size of the map along the Y-axis.

  • Texture X Offset %: Sets the offset of the texture in the X-axis.

  • Texture Y Offset %: Sets the offset of the texture in the Y-axis.

  • Texture X Width %: Stretches or compresses the texture in the X-axis.

  • Texture Y Width %: Stretches or compresses the texture in the Y-axis.

  • Patch mode:

    • Triangle Strip: Uses the same size of triangle polygon on the whole surface.

    • Optimized Quads: Uses bigger triangle polygons, where the surface of the displacement map is flat (reduce the total number of polygons and improve performance).

  • Inverse: Mirror all coordinates.

  • Texture Coordinates: Draws the texture over again when set to Repeat or stretches the texture to fit when the texture is to small to fit onto the Alpha Map rectangle when Clamp is selected.

  • Texel Precision: Uses Subtexel for better texture image quality:

    • Texel: No sub-pixel or sub-texel corrections are made.

    • Subtexel: There is a limited number of pixels available on the screen, if a line does not run through a real pixel, it must be moved to the nearest one, this introduces a positional error. If Subtexel is selected Viz Artist breaks up pixels into smaller sub pixels in memory, so that the line can be drawn to the nearest sub pixel.

  • Smooth: Creates a smooth look of the map, without the reduction of the polygon details of the map. In some cases the number of polygons are required to obtain the correct lightning.

  • Texture Coordinates: Decides if texture coordinates are to be created, and to which level. Select from None, Full or Part (partial). This is required if a texture is applied with a vertex mapping. Texture mapping consumes resources, if not needed select None.

  • Color: Sets the color of the alpha map rectangle.

To Add an Alpha Map

  1. Drag the Alpha Map plug-in to the Scene Tree.

  2. Add an alpha (must be luminance only) image to the Alpha Map editor Image drop zone.

  3. Drag a video source icon onto the alpha map’s container.