SoPostEffectAntiAliasing

InventorModule

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoRenderers

definition

SoRenderers.def

Purpose

The SoPostEffectAntiAliasing module offers morphological anti-aliasing for the SoPostEffectRenderer module.

Currently, the module implements:

  • FXAA anti-aliasing algorithm by Timothy Lottes.

  • DLAA directionally localized anti-aliasing by Dmitry Andreev.

The module should typically be placed as the final effect, just before the SoPostEffectRenderer module.

It works on any rendered image, volume rendering and transparent geometry, while MSAA only works on opaque geometry.

MSAA/sampling buffers and super-sampling should typically be turned off if using this module.

Parameter Fields

Field Index

Color Buffer Name: String

Edge Threshold: Enum

Enabled: Bool

Mode: Enum

Quality: Enum

Sharper: Bool

Sub Pixel Mode: Enum

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enables/disables the effect.

Color Buffer Name

name: colorBufferName, type: String, default: colorBuffer

Sets the name of the color buffer that should get anti-aliasing.

By default, it uses the main buffer, named “colorBuffer”.

Mode

name: mode, type: Enum, default: FXAA

Values:

Title

Name

​Fxaa

​FXAA

​Dlaa

​DLAA

Quality

name: quality, type: Enum, default: Maximum

Defines the quality of the anti-aliasing.

Values:

Title

Name

​Minimum

​Minimum

​Low

​Low

​Medium

​Medium

​High

​High

​Maximum

​Maximum

Sub Pixel Mode

name: subPixelMode, type: Enum, default: SubPixel_Default

Defines subpixel anti-aliasing settings.

Values:

Title

Name

​Soft

​SubPixel_Soft

​Default

​SubPixel_Default

​Sharp

​SubPixel_Sharp

​Almost Off

​SubPixel_AlmostOff

​Off

​SubPixel_Off

Edge Threshold

name: edgeThreshold, type: Enum, default: EdgeThreshold_Default

Defines the threshold for the edge detection.

Values:

Title

Name

​High Quality

​EdgeThreshold_HighQuality

​Default

​EdgeThreshold_Default

​Low Quality

​EdgeThreshold_LowQuality

Sharper

name: sharper, type: Bool, default: FALSE