SoShowDepthBuffer¶
- InventorModule¶
author
package
dll
definition
Purpose¶
The SoShowDepthBuffer is used to render the current depth buffer to the screen.
Its main purpose is to visually debug the depth buffer.
Usage¶
Place the module into any Open Inventor scene. It will render the depth buffer as it appears when the GLRenderAction of the module is called, so you must position it as the last node in the scene to capture the complete depth buffer.
Tips¶
The module requires OpenGL 2.0 and GLSL shader support to work.
Windows¶
Default Panel¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Node to be placed into an Open Inventor scene.
Parameter Fields¶
Visible Fields¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
If checked, the module is enabled.
Scale¶
- name: scale, type: Float, default: 1, minimum: 0.01, maximum: 1¶
Sets the scale of the rendered depth buffer image (1 = full screen, 0.5 = half screen, etc.).
Position¶
- name: position, type: Enum, default: BottomLeft¶
Defines the position of the depth buffer image.
Values:
Title |
Name |
|---|---|
Bottom Left |
BottomLeft |
Bottom Right |
BottomRight |
Top Left |
TopLeft |
Top Right |
TopRight |