Link Search Menu Expand Document

Sponza Palace

This example demonstrates loading and rendering the Sponza Palace architectural model with PBR materials, environment mapping, and an animated camera.

Overview

The Sponza Palace atrium is a classic test scene in real-time graphics. This example loads a glTF-PBR version of the model using Qt Quick 3D, with an HDR skybox providing realistic ambient lighting and reflections. Three LFOs drive a mathematical expression that smoothly animates the camera look-at target through the scene.

Key concepts

  • Architectural glTF scene: The Sponza glTF-PBR model is loaded from a QtQuick 3D script, with full PBR material support.
  • HDR environment: A high-dynamic-range .exr environment map is used both as a skybox background and as a light probe for image-based lighting.
  • Camera animation: Three LFO processes feed a Math expressions node that outputs animated 3D coordinates, controlling where the camera looks in the scene.
  • Interactive navigation: The scene supports real-time WASD keyboard and mouse navigation for free camera control.

Try it

Open this example and give an antique mood to your score!

Download this example

Learn more