Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtquick3d-index.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qtquick3d-index.html
6
\title Qt Quick 3D
7
\brief Provides API that lets you define 3D items using QML.
8
9
Qt Quick 3D provides a high-level API for creating 3D content and 3D user
10
interfaces based on \l{Qt Quick}. Rather than using an external engine, which
11
creates syncing issues and additional layers of abstraction, Qt Quick 3D
12
provides extensions to the existing \l{Qt Quick Scene Graph} for spatial content
13
and a renderer for that extended scene graph. When using the spatial scene
14
graph, it's possible to mix Qt Quick 2D content with 3D content.
15
16
Qt Quick 3D also provides for XR and VR applications with \l{\qxr}.
17
18
\image dragon.jpg
19
20
\section1 Using the Module
21
22
\section2 QML API
23
24
\include {module-use.qdocinc} {using the qml api} {QtQuick3D}
25
26
The following module imports provide additional functionality:
27
28
\qml
29
import QtQuick3D.AssetUtils
30
import QtQuick3D.Helpers
31
import QtQuick3D.Particles3D
32
import QtQuick3D.Xr
33
\endqml
34
35
\section2 C++ API
36
37
\include {module-use.qdocinc} {using the c++ api}
38
39
\section3 Building with CMake
40
41
\include {module-use.qdocinc} {building with cmake} {Quick3D}
42
43
\section3 Building with qmake
44
45
\include {module-use.qdocinc} {building_with_qmake} {quick3d}
46
47
\section1 Building From Source
48
49
When building from source, ensure that the modules and tools from the
50
\e qtdeclarative and \e qtshadertools repositories are built first, as
51
it's not possible to use Qt Quick 3D without these. Having \e
52
qtquicktimeline available is strongly recommended as well, since
53
keyframe-based animations will not be available otherwise.
54
55
In addition, some of the examples rely on \l {Qt Quick Controls}.
56
57
\section1 Module Evolution
58
\l{Changes to Qt Quick 3D} lists important changes in the module API
59
and functionality that were done for the Qt 6 series of Qt.
60
61
\section1 Articles and Guides
62
63
\list
64
\li \l{Qt Quick 3D - Introduction}{Qt Quick 3D Introduction Example}
65
\li \l{quick3d-asset-intro}{Qt Quick 3D Introduction with glTF Assets}
66
\li \l{Qt Quick 3D Graphics Requirements}
67
\li \l{Qt Quick 3D Architecture}
68
\li \l{Balsam Asset Import Tool}
69
\li \l{Optimizing 3D Assets}
70
\li \l{quick3d-pbr}{Physically-Based Rendering}
71
\li \l{Using Image-Based Lighting}
72
\li \l{Anti-Aliasing Best Practices}
73
\li \l{Qt Quick 3D Scenes with 2D Content}
74
\li \l{Programmable Materials, Effects, Geometry, and Texture data}
75
\li \l{Shadergen Tool}{Build-time materials}
76
\li \l{Vertex Skinning}{Skeletal Animation}
77
\li \l{Morphing Animation}{Morphing Animation}
78
\li \l{Instanced Rendering}{Instanced Rendering}
79
\li \l{Qt Quick 3D Level of Detail}{Level of Detail}
80
\li \l{Custom Material Editor}{Custom Material Editor}
81
\li \l{quick3d-lightmap}{Lightmaps and Global Illumination}
82
\li \l{quick3d-shadow-mapping}{Shadow Mapping}
83
\li \l{\qxr}
84
\li \l{Multiview Rendering}
85
\endlist
86
87
\section1 Examples
88
89
\list
90
\li \l{Qt Quick 3D - Introduction}{Introduction}
91
\li \l{Qt Quick 3D - View3D Example}{View3D with Multiple Viewports}
92
\li \l{Qt Quick 3D - Lights Example}{Lights and Shadows}
93
\li \l{Qt Quick 3D - Dynamic Model Creation Example}{Dynamic Model Creation}
94
\li \l{Qt Quick 3D - Principled Material Example}{Principled Material}
95
\li \l{Qt Quick 3D - Scene Effects Example}{Built-in effects and tonemapping}
96
\li \l{Qt Quick 3D - Quick Items Example}{Qt Quick Items within the 3D Scene}
97
\li \l{Qt Quick 3D - Custom Materials Example}{Custom Materials}
98
\li \l{Qt Quick 3D - Custom Shaders Example}{Unshaded Custom Materials}
99
\li \l{Qt Quick 3D - Custom Effect Example}{Writing Custom Post-Processing Effects}
100
\li \l{Qt Quick 3D - Custom Geometry Example}{Adding Custom Geometry from C++}
101
\li \l{Qt Quick 3D - Procedural Texture Example}{Adding Custom Texture Data from C++}
102
\li \l{Qt Quick 3D - Baked Lightmap Example}{Using baked lightmaps}
103
\li \l{Qt Quick 3D - XR Simple Example}{Demonstrates setting up a simple VR scene}
104
\li \l{Qt Quick 3D - XR Simple Input Example}{Demonstrates controller input in VR}
105
\li \l{Qt Quick 3D - XR Spatial Anchors Example}{Demonstrates spatial anchors in VR}
106
\li \l{Qt Quick 3D Examples and Tutorials}{All examples}
107
\endlist
108
109
\section1 Reference
110
\list
111
\li \l{Qt Quick 3D QML Types}
112
\li \l{Qt Quick 3D C++ Classes}
113
\li \l{Qt Quick 3D Helpers QML Types}
114
\li \l{QtQuick3D.AssetUtils QML Types}
115
{Qt Quick 3D Asset Utility QML Types}
116
\li \l{Qt Quick 3D Particles3D QML Types}
117
\li \l{\qxr}
118
\endlist
119
120
\section1 Related Modules
121
122
\list
123
\li \l{Qt Quick}
124
\endlist
125
126
\section1 Qt Academy Courses
127
128
\list
129
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-animations}
130
{Qt Quick 3D: Animations}
131
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-assets-&-resources}
132
{Qt Quick 3D: Assets & Resources}
133
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-custom-materials,-render-settings-&-post-processing-}
134
{Qt Quick 3D: Custom Materials, Render Settings & Post-Processing}
135
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-interaction-and-managing-performance-}
136
{Qt Quick 3D: Interaction and Managing Performance}
137
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-lighting-&-cameras}
138
{Qt Quick 3D: Lighting & Cameras}
139
\li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-views,-scenes-&-nodes}
140
{Qt Quick 3D: Views, Scenes & Nodes}
141
\endlist
142
143
144
\section1 Licenses and Attributions
145
146
Qt Quick 3D is available under the commercial license from \l {The Qt Company}.
147
In addition, it is available under the
148
\l{GNU General Public License, version 3}.
149
See \l {Qt Licensing} for further details.
150
151
Furthermore, Qt Quick 3D potentially contains third party modules
152
under the following permissive licenses:
153
154
\annotatedlist attributions-qtquick3d
155
*/
qtquick3d
src
quick3d
doc
src
qtquick3d-index.qdoc
Generated on
for Qt by
1.14.0