SoPostEffectAdditionalGeometry¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def
Purpose¶
The SoPostEffectAdditionalGeometry
module allows to render additional geometry on top of
already existing geometry rendered by SoPostEffectMainGeometry
.
The main purpose of this module is to render transparent geometry and volume rendering on top of the existing buffers, since many of the effects (glow, edges, …) only make sense for opaque geometry.
So the typical order will be:
SoPostEffectMainGeometry
to render opaque geometry- effects like
SoPostEffectGlow
orSoPostEffectEdges
SoPostEffectAdditionalGeometry
to renderSoGVRVolumeRenderer
orSoDepthPeelRenderer
scenes- and finally
SoPostEffectAntiAliasing
to get anti-aliasing.
The module typically does not modify the main depth buffer, but copies it instead. This can be configured differently if desired.
Parameter Fields¶
Field Index¶
boundingBoxCaching : Enum |
pickCulling : Enum |
Clear Color Buffer : Bool |
renderCaching : Enum |
Clear Depth Buffer : Bool |
renderCulling : Enum |
Color Buffer Name : String |
Source Depth Buffer Name : String |
Copy Source Depth Buffer : Bool |
|
Depth Buffer Name : String |
|
Enabled : Bool |
|
Mode : Enum |
Visible Fields¶
Mode¶
-
name:
mode
, type:
Enum
, default:
ExistingDepthBuffer
¶
Values:
Title | Name |
---|---|
Temporary Depth Buffer | TemporaryDepthBuffer |
Existing Depth Buffer | ExistingDepthBuffer |
New Depth Buffer | NewDepthBuffer |
Copy Source Depth Buffer¶
-
name:
copySourceDepthBuffer
, type:
Bool
, default:
FALSE
¶ Enables copying the source depth buffer (so that the additional geometry gets clipped by the given opaque geometry).
Source Depth Buffer Name¶
-
name:
sourceDepthBufferName
, type:
String
, default:
depthBuffer
¶ Choose the source depth buffer.
Clear Color Buffer¶
-
name:
clearColorBuffer
, type:
Bool
, default:
FALSE
¶ Enables clearing of the color buffer. Only makes sense if rendering to a new color buffer.
Clear Depth Buffer¶
-
name:
clearDepthBuffer
, type:
Bool
, default:
FALSE
¶ Enables clearing of the depth buffer, not possible if copying from a source buffer is chosen.