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
¶ Enable the opaque input geometry. The effects are applied to this geometry.
Enable Transparent Geometry¶
-
name:
enableTransparentGeometry
, type:
Bool
, default:
FALSE
¶ Enabled rendering of the transparent input geometry using depth peeling or blended average.
Enable Effects¶
Enable Late Effects¶
-
name:
enableLateEffects
, type:
Bool
, default:
FALSE
¶ Enables late effects, see
lateEffects
.
Mode¶
-
name:
transparencyMode
, type:
Enum
, default:
DualDepthPeeling
¶ Choses the transparency mode.
Values:
Title | Name | Description |
---|---|---|
Dual Depth Peeling | DualDepthPeeling | Dual depth peeling render 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
¶ The number of layers, used when depth peeling is enabled.
Antialiasing¶
-
name:
antiAliasing
, type:
Enum
, default:
FXAA
¶ The anti-aliasing mode that is chosen. 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
¶ Enables rendering of a background gradient.
Ambient Occlusion¶
-
name:
enableAmbientOcclusion
, type:
Bool
, default:
FALSE
¶ Enables rendering of screen space ambient occlusion. For details, see
SoPostEffectAmbientOcclusion
.