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.

Input Fields

child

name: child, type: SoNode

The input scene.

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enables/disables the effect.

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.

Clear Color Buffer

name: clearColorBuffer, type: Bool, default: FALSE

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.

Auxiliary Buffer Name

name: auxiliaryBufferName, type: String, default: auxBuffer

The name of the auxiliary buffer.

Auxiliary Buffer Type

name: auxiliaryBufferType, type: Enum, default: RGBA8

Values:

Title Name
Rgb8 RGB8
Rgba8 RGBA8
Rgb16f RGB16F
Rgba16f RGBA16F
Rgb32f RGB32F
Rgba32f RGBA32F
Rgb10 A2 RGB10_A2
R8 R8
R16f R16F
R32f R32F

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO