SoPostEffectMainGeometry¶
-
InventorModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def
Purpose¶
The SoPostEffectMainGeometry
module renders the given input scene into buffers for the SoPostEffectRenderer
module.
By default, it renders to the “colorBuffer” and “depthBuffer”. If other effects require normals or emissive colors, it also renders to “normalBuffer” and “emissiveBuffer”.
This module should be one of the first in the scene, since it provides the geometry onto which the effects are applied.
It can also write extra data to a so called “auxiliaryBuffer”.
If enabled via Write Auxiliary Buffer
, a custom SoShaderPipelineFunction
can write
auxiliary data to the vec4 state “auxOutput” and this will be written to the aux buffer.
This module makes use of the SoShaderPipeline
, this means that fixed-function texturing in the scene below the module
will have limited functionality and will require writing your own SoShaderPipelineFunction
to implement automatic texture coordinate generation. If you want to change the settings of the SoShaderPipeline
that is used in the scene below, you can place an extra SoShaderPipeline
into the scene, this will allow you to customize the used shader.
Parameter Fields¶
Field Index¶
Auxiliary Buffer Name : String |
Force Emissive Buffer : Bool |
Auxiliary Buffer Type : Enum |
Force Normal Buffer : Bool |
boundingBoxCaching : Enum |
Normal Buffer Name : String |
Clear Color Buffer : Bool |
Only Render Opaque Objects : Bool |
Color Buffer Name : String |
pickCulling : Enum |
Depth Buffer Name : String |
renderCaching : Enum |
Emissive Buffer Name : String |
renderCulling : Enum |
Enabled : Bool |
Write Auxiliary Buffer : Bool |
Visible Fields¶
Force Normal Buffer¶
-
name:
forceNormalBuffer
, type:
Bool
, default:
FALSE
¶ Forces rendering to the normal buffer.
Force Emissive Buffer¶
-
name:
forceEmissiveBuffer
, type:
Bool
, default:
FALSE
¶ Forces rendering to the emissive buffer.
Write Auxiliary Buffer¶
-
name:
writeAuxiliaryBuffer
, type:
Bool
, default:
FALSE
¶ Enables writing the vec4 state auxOutput to the aux buffer.
Only Render Opaque Objects¶
-
name:
onlyRenderOpaqueObjects
, type:
Bool
, default:
FALSE
¶ If enabled, only objects with alpha == 1 are rendered.
Color Buffer Name¶
-
name:
colorBufferName
, type:
String
, default:
colorBuffer
¶ Selects the name of the color buffer.
Normal Buffer Name¶
-
name:
normalBufferName
, type:
String
, default:
normalBuffer
¶ Selects the name of the normal buffer.
Depth Buffer Name¶
-
name:
depthBufferName
, type:
String
, default:
depthBuffer
¶ Selects the name of the depth buffer.
Emissive Buffer Name¶
-
name:
emissiveBufferName
, type:
String
, default:
emissiveBuffer
¶ Selects the name of the emissive buffer.