PostEffectRenderer¶
- MacroModule¶
genre
author
package
definition
keywords
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¶
opaqueGeometry¶
- name: opaqueGeometry, type: SoNode¶
Enables the main opaque geometry input. The effects are applied to this rendering, except for the anti-aliasing which is applied to all inputs.
Output Fields¶
outScene¶
- name: outScene, type: SoNode¶
The scene that can be placed into a viewer.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 Additional Geometry¶
- name: enableAdditionalGeometry, type: Bool, default: FALSE¶
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 |
Depth Peeling |
DepthPeeling |
Depth-peeling renders transparencies in the correct order, peeling |
Blended Average |
BlendedAverage |
Blended average offers a fast transparency rendering mode; see |
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
SoPostEffectAntiAliasingmodule.
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.
Start¶
- name: backgroundStartColor, type: Color, default: 0.39215686917305 0.39215686917305 0.39215686917305¶
Sets the start color of the background gradient.
End¶
- name: backgroundEndColor, type: Color, default: 1 1 1¶
Sets the end color of the background gradient.