Qt6 QML Book/Qt Quick 3D/Qt Quick 3D

Qt Quick 3D

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之一的平台:

  • OpenGL 3.3+ (support from 3.0)
  • OpenGL ES 3.0+ (limited support for OpenGL ES 2)
  • Direct3D 11.1
  • Vulcan 1.0+
  • Metal 1.2+

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内容的混合。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值