SoShowDepthBuffer

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoGVR
definition soGVR.def

Purpose

The SoShowDepthBuffer is used to render the current depth buffer to the screen. It’s main purpose if visual debugging of the depth buffer.

Usage

Place the module into any Open Inventor scene. It will render the depth buffer like it is when the GLRenderAction of the module is called, so you have to place it as the last node in the scene to get the complete depth buffer.

Tips

The module requires OpenGL 2.0 and GLSL shader support to work.

Windows

Default Panel

../../../Modules/Inventor/SoGVR/mhelp/Images/Screenshots/SoShowDepthBuffer._default.png

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

Enable the module.

Scale

name: scale, type: Float, default: 1, minimum: 0.01, maximum: 1

Scale the rendered depth buffer image (1 = full screen, 0.5 half screen etc.)

Position

name: position, type: Enum, default: BottomLeft

Allows to position the depth buffer image.

Values:

Title Name
Bottom Left BottomLeft
Bottom Right BottomRight
Top Left TopLeft
Top Right TopRight