Qt OpenGL Esempi

Questi esempi illustrano come utilizzare il Qt OpenGL modulo.
Qt offre il supporto per l'integrazione con le implementazioni OpenGL, dando agli sviluppatori la possibilità di visualizzare grafica 3D con accelerazione hardware insieme a un'interfaccia utente più convenzionale.
Questi esempi illustrano le tecniche di base utilizzate per sfruttare OpenGL nelle applicazioni Qt.
L'esempio "2D Painting" mostra come QPainter e QOpenGLWidget possano essere utilizzati insieme per visualizzare grafica 2D accelerata su hardware supportato. | |
Mostra come ruotare manualmente un cubo 3D con texture in base all’input dell’utente. | |
L'esempio "Hello GL2" illustra l'uso di base delle classi relative a Qt OpenGL fornite con Qt. | |
Dimostra le funzioni di OpenGL ES 3.0 tramite QOpenGLExtraFunctions. | |
Questo esempio mostra come creare un'applicazione minimale basata su QWindow allo scopo di utilizzare OpenGL. | |
Questo esempio mostra come creare un'applicazione minimale basata su QOpenGLWidget con supporto al rendering stereoscopico. | |
L'esempio Textures illustra l'uso delle classi immagine di Qt come texture in applicazioni che utilizzano sia Qt OpenGL che Qt per la visualizzazione della grafica. |
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.