Qt 3D Examples

The following examples demonstrate 2D and 3D rendering using Qt 3D.

QML Examples

Qt 3D: Advanced Custom Material QML Example

Demonstrates creating advanced materials in Qt3D.

Qt 3D: Multi Viewport QML Example

A QML example that demonstrates rendering a Scenegraph from multiple viewports.

Qt 3D: PBR Materials QML Example

A QML application that demonstrates using PBR materials.

Qt 3D: Planets QML Example

Demonstrates combining Qt 3D rendering and Qt Quick 2 elements.

Qt 3D: Scene2D QML Example

A QML application that demonstrates using Qt Quick 2 within a Qt 3D scene.

Qt 3D: Scene3D QML Example

A QML application that demonstrates visualizing a 3D scene.

Qt 3D: Scene3D QML with Widgets Example

A QWidget-based application with a QML scene containing a 3D scene.

Qt 3D: Scene3DView QML Example

A QML application that demonstrates visualizing multiple 3D scenes using Scene3D and Scene3DView.

Qt 3D: Shadow Map QML Example

A Qt 3D QML application that illustrates how to render a scene in Qt 3D with shadows.

Qt 3D: Simple Custom Material QML Example

Demonstrates creating a custom material in Qt 3D.

Qt 3D: Simple QML Example

A QML application that demonstrates how to render a scene in Qt 3D.

Qt 3D: Wave QML Example

A QML application that demonstrates using vertex and geometry shaders.

Qt 3D: Wireframe QML Example

A Qt 3D QML application that implements a single-pass wireframe rendering method.

C++ Examples

Qt 3D: Basic Shapes C++ Example

Shows four basic shapes that Qt 3D offers and sets up a mesh for each of them.

Qt 3D: Simple C++ Example

A C++ application that demonstrates how to render a scene in Qt 3D.