SoPostEffectAdditionalGeometry¶
- InventorModule¶
author
package
dll
definition
Purpose¶
The SoPostEffectAdditionalGeometry module allows for rendering 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, etc.) only make sense for opaque geometry.
So the typical order will be:
SoPostEffectMainGeometryto render opaque geometryeffects like
SoPostEffectGloworSoPostEffectEdgesSoPostEffectAdditionalGeometryto renderSoGVRVolumeRendererorSoDepthPeelRendererscenesand finally
SoPostEffectAntiAliasingto get anti-aliasing.
The module typically does not modify the main depth buffer, but copies it instead. This can be configured differently if desired.
Input Fields¶
child¶
- name: child, type: SoNode¶
The input scene.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
If checked, the effect is enabled.
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¶
If checked, the copying of the source depth buffer is enabled so that the additional geometry gets clipped by the provided opaque geometry.
Source Depth Buffer Name¶
- name: sourceDepthBufferName, type: String, default: depthBuffer¶
Sets the name of the source depth buffer.
Clear Color Buffer¶
- name: clearColorBuffer, type: Bool, default: FALSE¶
If checked, the clearing of the color buffer is enabled.
This only makes sense if rendering to a new color buffer.
Clear Depth Buffer¶
- name: clearDepthBuffer, type: Bool, default: FALSE¶
If checked, the clearing of the depth buffer is enabled.
This is not possible if copying from a source buffer is chosen.
Color Buffer Name¶
- name: colorBufferName, type: String, default: colorBuffer¶
Sets the color buffer name.
Depth Buffer Name¶
- name: depthBufferName, type: String, default: depthBuffer¶
Sets the depth buffer name.