RemoteRendering

MLModule
genre Remote
status work-in-progress
author Uwe Siems
package MeVisLab/Standard
dll MLRemoteRendering
definition MLRemoteRendering.def
see also RemoteRenderingClient
keywords remote, rendering

Purpose

The module :module:`RemoteRendering`is intended for the use in remote modules (it will also work locally, though) and allows to interact with and display OpenInventor scenes in remote modules. It does so by sending updated images to a client and receiving input events from this client

Usage

Attach your OpenInventor scene to the input of this module.

Attaching a RemoteRenderingClient to the output will render the scene to an internal buffer, which will be displayed by the panel of the RemoteRenderingClient. (You can also use a RemoteRendering control directly).

Normally one would use this by using the RemoteRendering module inside of a macro module that is turned into a remote module.

Details

This module renders the scene more or less the same way as the OffscreenRender module.

Tips

You can use a SoCameraInteraction module in your scene if you want basic camera interaction (and lighting) for a 3D scene.

Input Fields

sceneGraph

name: sceneGraph, type: SoNode

Connect your OpenInventor scene to this input.

Output Fields

output

name: output, type: MLBase

Connect a RemoteRenderingClient module to this output. Or apply a RemoteRendering control directly on this field.

Parameter Fields

Hidden Fields

transparencyType

name: transparencyType, type: Enum, default: BLEND

Defines the transparency type as it is also available in the SoRenderArea and SoExaminerViewer modules.

Values:

Title Name
Screen Door SCREEN_DOOR
Add ADD
Delayed Add DELAYED_ADD
Sorted Object Add SORTED_OBJECT_ADD
Blend BLEND
Delayed Blend DELAYED_BLEND
Sorted Object Blend SORTED_OBJECT_BLEND

supported

name: supported, type: Bool, default: TRUE

Shows whether offscreen rendering is available with your current graphics card and driver.

stencilBuffer

name: stencilBuffer, type: Bool, default: FALSE

If checked, the stencil buffer support is activated.

bgColor

name: bgColor, type: Color, default: 0 0 0

Sets the default background color of the rendering.

Default is, of course, black.