SoFramebufferRenderer¶
- InventorModule¶
genre
author
package
dll
definition
keywords
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 fraction 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.
Windows¶
Default Panel¶
Input Fields¶
child¶
- name: child, type: SoNode¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Is supported¶
- name: supported, type: Bool, persistent: no¶
Shows whether 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 multiplying it by 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 frame buffer for depth values is used.
Use stencil buffer¶
- name: stencilBuffer, type: Bool, default: FALSE¶
If checked, the frame buffer for stencil values is used.
Tile Size¶
- name: tileSize, type: Integer, default: 1024¶
Sets the size of tiles.
Needs to be a power of 2.