Sponza Palace
Look around the Sponza Palace atrium as a slowly moving camera target reveals its arches and surfaces.
A JavaScript/QML scene uses Qt Quick 3D’s RuntimeLoader to load the Sponza glTF-PBR model. An HDR environment map supplies the skybox and light probe. Three LFO processes feed a mathematical expression that changes where the camera looks; Position controls where the camera stands.
This is a Qt Quick 3D scene, not the native Asset Loader pipeline. Its HDR environment is handled by Qt’s light probe. See 3D scene pipeline for the native alternative and Environments and cubemaps before transferring an environment to that renderer.
Try it
Open the ZIP directly in score: the model and environment are both included. There is no separate Sponza model-package download to resolve.
The saved QML script still calls wasd.forceActiveFocus() in tick, but declares no wasd controller. Remove that call in the script editor to avoid its reference error. This version uses Position and Look At, not WASD navigation.
Start playback and change the slow LFOs’ phase offsets to alter the camera-target path. Then adjust Position to watch the same target motion from another location. Use a desktop build with GPU JavaScript and the Qt Quick 3D modules imported by the script, including AssetUtils.
Learn more
- Model display - 3D mesh rendering process
- LFO - Low-frequency oscillator for animation
- Math expressions - Expression-based value generation
- Graphics pipeline - How rendering works in ossia score