The Qt Quick 3D module takes the power of QML to the third dimension. Using Qt Quick 3D you can create three dimensional scenes and use the property bindings, state management, animations, and more from QML to make the scene interactive. You can even mix 2D and 3D contents in various way to create a mixed environment.
Qt Quick 3D模块将QML的功能扩展到三维。使用Qt Quick 3D,您可以创建三维场景,并使用QML中的属性绑定、状态管理、动画等使场景具有交互性。您甚至可以以各种方式混合二维和三维内容来创建混合环境。
Just as Qt provides an abstraction for 2D graphics, Qt Quick 3D relies on an abstraction layer for the various rendering APIs supported. In order to use Qt Quick 3D it is recommended to use a platform provding at least one of the following APIs:
正如Qt提供2D图形的抽象一样,Qt Quick 3D依赖于支持的各种渲染API的抽象层。为了使用Qt Quick 3D,建议使用至少提供以下API之一的平台:
The Qt Quick Software Adaption, i.e. the software only rendering stack, does not support 3D contents.
Qt Quick软件自适应,即仅软件渲染堆栈,不支持3D内容。
In this chapter we will take you through the basics of Qt Quick 3D, letting you create interactive 3D scenes based on built in meshes as well as assets created in external tools. We will also look at animations and mixing of 2D and 3D contents.
在本章中,我们将介绍Qt Quick 3D的基础知识,让您可以基于内置网格以及在外部工具中创建的资源创建交互式3D场景。我们还将研究动画以及2D和3D内容的混合。