PostEffectRenderer¶
-
MacroModule
¶ genre View3D
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition viewers.def keywords antialiasing
,transparency
Purpose¶
The PostEffectRenderer
offers a typical configuration of the SoPostEffectRenderer
, like View2D does for SoView2D.
It provides rendering of opaque,transparent and additional geometries with anti-aliasing. The additional geometry is typically used for Volume Rendering on top of opaque geometry.
Usage¶
Enabled the inputs that you need and connect the geometry scenes to it.
Input Fields¶
Parameter Fields¶
Field Index¶
Ambient Occlusion : Bool |
End : Color |
Antialiasing : Enum |
Layers : Integer |
Background : Bool |
Mode : Enum |
Enable Additional Geometry : Bool |
Start : Color |
Enable Effects : Bool |
|
Enable Late Effects : Bool |
|
Enable Opaque Geometry : Bool |
|
Enable Transparent Geometry : Bool |
Visible Fields¶
Enable Opaque Geometry¶
-
name:
enableOpaqueGeometry
, type:
Bool
, default:
TRUE
¶ If checked, opaque input geometry is enabled. The effects are applied to this geometry.
Enable Transparent Geometry¶
-
name:
enableTransparentGeometry
, type:
Bool
, default:
FALSE
¶ If checked, rendering of the transparent input geometry is enabled using depth-peeling or blended average.
Enable Effects¶
Enable Late Effects¶
-
name:
enableLateEffects
, type:
Bool
, default:
FALSE
¶ If checked, late effects are enabled; see
lateEffects
.
Mode¶
-
name:
transparencyMode
, type:
Enum
, default:
DualDepthPeeling
¶ Defines the transparency mode.
Values:
Title | Name | Description |
---|---|---|
Dual Depth Peeling | DualDepthPeeling | Dual depth-peeling renders transparencies in the correct order, peeling Layers / 2 from the front and from the back. |
Depth Peeling | DepthPeeling | Depth-peeling renders transparencies in the correct order, peeling Layers from the front. |
Blended Average | BlendedAverage | Blended average offers a fast transparency rendering mode; see SoPostEffectTransparentGeometry for details. |
Linked List | LinkedList | |
KBuffer | KBuffer |
Layers¶
-
name:
transparencyLayers
, type:
Integer
, default:
8
, minimum:
1
, maximum:
64
¶ Sets the number of layers used if depth-peeling is enabled.
Antialiasing¶
-
name:
antiAliasing
, type:
Enum
, default:
FXAA
¶ Defines the anti-aliasing mode. If anti-aliasing is enabled, enabling sample buffers/MSAA on the viewers or remote rendering module is not needed, since the anti-aliasing is done as a post effect.
For details, have a look at the
SoPostEffectAntiAliasing
module.
Values:
Title | Name |
---|---|
Off | Off |
FXAA | FXAA |
DLAA | DLAA |
Super Sampling2x2 | SuperSampling2x2 |
Background¶
-
name:
enableBackground
, type:
Bool
, default:
TRUE
¶ If checked, rendering of a background gradient is enabled.
Ambient Occlusion¶
-
name:
enableAmbientOcclusion
, type:
Bool
, default:
FALSE
¶ If checked, rendering of screen space ambient occlusion is enabled.
For details, see
SoPostEffectAmbientOcclusion
.