C

Qt 3D Studio Runtime: Simple Offscreen Example

Demonstrates using the Q3DSSurfaceViewer class render frames into image files.

This example demonstrates offscreen usage of the Q3DSSurfaceViewer class

Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Description

In this example there is no on-screen user interface. Instead, an OpenGL framebuffer object is created. With the help of a QOffscreenSurface the Qt 3D Studio presentation is rendered into the OpenGL texture. The contents is then read back into a QImage and saved into image files.

Files:

Available under certain Qt licenses.
Find out more.