Using Qt Quick and the new Qt graphics stack, Scene Graph
summary
QML Scene Graph replaces QGraphicsView and QPainter with an OpenGL ES2-backed stack that runs a separate render thread and updatePaintNode synchronization step; custom elements inherit QSGItem or QSGPaintedItem, create QSGGeometry/QSGMaterial, upload QSGTexture and write GLSL vertex/fragment shaders. Examples show a donut first painted to a texture via QPainter then reimplemented in a fragment shader, and a 3D donut with custom vertex format and three textures that renders correctly but requires full-screen redraws and careful texture memory management.
AI-written summary · about
chapters (38)
- 0:00Introduction
- 1:54Goals
- 2:16Overview
- 2:59Qt Quick
- 3:42Benefits
- 5:34Drawbacks
- 6:26Qt Quick elements
- 6:39Replacing KML View with Qt Scene
- 7:48Qt Quick to Qt Scene
- 11:45Full Performance
- 11:55Scene Graphs
- 12:46Scene Graph Nodes
- 14:53Node Types
- 17:39Textures
- 19:24UpdatePaint
- 24:35State Management
- 26:38Geometry
- 28:35Material
- 30:36Donut Shader
- 35:31Advanced Geometry
- 37:08Custom Geometry
- 37:25XRotation
- 38:00Matrix
- 38:24Material Shader
- 38:55Update States
- 39:50Resolve Uniforms
- 40:58Vertex Types
- 42:00Vertex Shader
- 43:30Decision
- 43:50Update Pink
- 45:18Transform
- 46:08Vertex
- 47:20Floatingpoint precision
- 47:54Krail
- 48:12Shaders
- 49:35Parent
- 51:11Summary
- 51:43Questions
related talks
01h 01mScene Graph: A Different Approach to Graphics in Qt
01h 12mQt/3D QML Scripting for UI Designers and Hackers
01h 00mHow to optimise Qt Quick 2 applications for maximum performance
21mQSkinny - A new QtQuick framework focusing on vector graphics and dynamic theming
54mCombine 2D and 3D elements in UI design with Qt Quick
55mIntegrating OpenGL with Qt Quick 2 applications
24mThe Roadmap: Next Generation Qt (part 2/2)
48mBuilding Desktop and Embedded Uis with Qt 3D
