SoFramebufferRenderer¶
-
InventorModule
¶ genre Visualization
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def keywords fbo
,offscreen
Purpose¶
The module SoFramebufferRenderer
reduces the fill rate required to render a given scene.
It renders the scene to a texture whose size is a fracture of the current viewport size. This texture is then applied to a rectangle of viewport size. The aspect ratio of the rectangle is equivalent to the aspect ratio of the viewport.
Details¶
The module uses the OpenGL GL_EXT_framebuffer_object
extension which must be supported for the module to operate. The texture size is chosen to be the next power of two in size given the scale value.
Parameter Fields¶
Field Index¶
Apply Complexity Value : Float |
Scale Factor : Float |
boundingBoxCaching : Enum |
Static Scale Factor : Float |
Color Buffer Format : Enum |
Tile Size : Integer |
debugTiling : Bool |
Use depth buffer : Bool |
Is supported : Bool |
Use stencil buffer : Bool |
pickCulling : Enum |
|
renderCaching : Enum |
|
renderCulling : Enum |
Visible Fields¶
Is supported¶
-
name:
supported
, type:
Bool
, persistent:
no
¶ Shows if framebuffer objects are supported by the graphics card driver.
Scale Factor¶
-
name:
scaleFactor
, type:
Float
, default:
0.5
¶ Sets a scale factor for the computation of the target size by mulitplying it to the width and to the height.
Static Scale Factor¶
-
name:
staticScaleFactor
, type:
Float
, default:
1
¶ Sets a fixed scale factor that is always applied.
Apply Complexity Value¶
-
name:
complexity
, type:
Float
, default:
0.5
, minimum:
0
, maximum:
1
¶ Sets the complexity value to the traversal state while ignoring its override state.
Color Buffer Format¶
-
name:
colorBufferFormat
, type:
Enum
, default:
RGBA
¶ Defines the internal color frame buffer (texture) format.
Values:
Title | Name |
---|---|
Rgb | RGB |
Rgb8 | RGB8 |
Rgb16 | RGB16 |
Rgb16f | RGB16F |
Rgb32f | RGB32F |
Rgba | RGBA |
Rgba8 | RGBA8 |
Rgba16 | RGBA16 |
Rgba16f | RGBA16F |
Rgba32f | RGBA32F |
Use depth buffer¶
-
name:
depthBuffer
, type:
Bool
, default:
TRUE
¶ If checked, the a frame buffer for depth values is used.