author | Florian Link |
package | MeVisLab/Standard |
dll | SoRenderers |
definition | SoRenderers.def |
The SoPostEffectRenderer module is the main renderer for the screen-space post-processing framework (see GLSL Post-Processing Effect Framework).
It collects all effects that are placed into the scene in front of it and renders them from left to right.
All buffers that are created live inside this module, not inside of the effects. Buffers that are unused after re-rendering are automatically removed.
Buffers are identified by their name. Default buffers generated by the SoPostEffectMainGeometry module are:
Additional buffers are generated by the various effect modules, have a look at the GLSL Post-Processing Effect Framework for a list of modules.
The SoPostEffectRenderer itself just renders the resulting buffers named "colorBuffer" and "depthBuffer" to the default Open Inventor framebuffer.
This module provides super sampling by rendering to buffers that are a multiple of the main framebuffer. Super-sampling requires a large amount of memory and performance (basically the super-sampling factor squared, so supersampling 2x2 means factor 4 larger buffers and processing time). Currently super-sampling does not adjust line width and filter sized of the various effects, so lines/edges will get thinner. In the future we might provide an option to automatically adjust this when super-sampling is turned on.
Consider using SoPostEffectAntiAliasing instead of super sampling.
Color Precision: Enum |
Debug Buffer Name: String |
Debug Buffers: Bool |
Debug Pixels: Bool |
Debug Profiling: Bool |
Debug Temp Buffers: Bool |
Enable Stencil Buffers: Bool |
Super Sampling: Enum |
If enabled, all currently existing buffers are rendered. The top shows RGB, while the bottom shows the alpha channel.
Enables stencil buffers in all depth buffers (using depth+stencil textures).
Chooses the super sampling factor (consider using SoPostEffectAntiAliasing instead).
Values:
Title | Name | Description |
---|---|---|
Off | SuperSampling_Off | Off be default, no super sampling is done. |
2x2 | SuperSampling_2x2 | Super sample by factor 2. |
3x3 | SuperSampling_3x3 | Super-sample by factor 3. |
4x4 | SuperSampling_4x4 | Super-sample by factor 4. |