Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
9Qt Quick 3D provides a high-level API for creating 3D content and 3D user
10interfaces based on \l{Qt Quick}. Rather than using an external engine, which
11creates syncing issues and additional layers of abstraction, Qt Quick 3D
12provides extensions to the existing \l{Qt Quick Scene Graph} for spatial content
13and a renderer for that extended scene graph. When using the spatial scene
14graph, it's possible to mix Qt Quick 2D content with 3D content.
15
16Qt 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
26The following module imports provide additional functionality:
27
28\qml
29import QtQuick3D.AssetUtils
30import QtQuick3D.Helpers
31import QtQuick3D.Particles3D
32import 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
49When building from source, ensure that the modules and tools from the
50\e qtdeclarative and \e qtshadertools repositories are built first, as
51it's not possible to use Qt Quick 3D without these. Having \e
52qtquicktimeline available is strongly recommended as well, since
53keyframe-based animations will not be available otherwise.
54
55In 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
59and 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{\qxr Overview}
83\endlist
84
85\section1 Examples
86
87\list
88 \li \l{Qt Quick 3D - Introduction}{Introduction}
89 \li \l{Qt Quick 3D - View3D Example}{View3D with Multiple Viewports}
90 \li \l{Qt Quick 3D - Lights Example}{Lights and Shadows}
91 \li \l{Qt Quick 3D - Dynamic Model Creation Example}{Dynamic Model Creation}
92 \li \l{Qt Quick 3D - Principled Material Example}{Principled Material}
93 \li \l{Qt Quick 3D - Scene Effects Example}{Built-in effects and tonemapping}
94 \li \l{Qt Quick 3D - Quick Items Example}{Qt Quick Items within the 3D Scene}
95 \li \l{Qt Quick 3D - Custom Materials Example}{Custom Materials}
96 \li \l{Qt Quick 3D - Custom Shaders Example}{Unshaded Custom Materials}
97 \li \l{Qt Quick 3D - Custom Effect Example}{Writing Custom Post-Processing Effects}
98 \li \l{Qt Quick 3D - Custom Geometry Example}{Adding Custom Geometry from C++}
99 \li \l{Qt Quick 3D - Procedural Texture Example}{Adding Custom Texture Data from C++}
100 \li \l{Qt Quick 3D - Baked Lightmap Example}{Using baked lightmaps}
101 \li \l{Qt Quick 3D - XR Simple Example}{Demonstrates setting up a simple VR scene}
102 \li \l{Qt Quick 3D Examples and Tutorials}{All examples}
103\endlist
104
105\section1 Reference
106\list
107 \li \l{Qt Quick 3D QML Types}
108 \li \l{Qt Quick 3D C++ Classes}
109 \li \l{Qt Quick 3D Helpers QML Types}
110 \li \l{QtQuick3D.AssetUtils QML Types}
111 {Qt Quick 3D Asset Utility QML Types}
112 \li \l{Qt Quick 3D Particles3D QML Types}
113 \li \l{\qxr}
114\endlist
115
116\section1 Related Modules
117
118\list
119 \li \l{Qt Quick}
120\endlist
121
122\section1 Qt Academy Courses
123
124\list
125 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-animations}
126 {Qt Quick 3D: Animations}
127 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-assets-&-resources}
128 {Qt Quick 3D: Assets & Resources}
129 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-custom-materials,-render-settings-&-post-processing-}
130 {Qt Quick 3D: Custom Materials, Render Settings & Post-Processing}
131 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-interaction-and-managing-performance-}
132 {Qt Quick 3D: Interaction and Managing Performance}
133 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-lighting-&-cameras}
134 {Qt Quick 3D: Lighting & Cameras}
135 \li \l {https://www.qt.io/academy/course-catalog#qt-quick-3d:-views,-scenes-&-nodes}
136 {Qt Quick 3D: Views, Scenes & Nodes}
137\endlist
138
139
140\section1 Licenses and Attributions
141
142Qt Quick 3D is available under the commercial license from \l {The Qt Company}.
143In addition, it is available under the
144\l{GNU General Public License, version 3}.
145See \l {Qt Licensing} for further details.
146
147Furthermore, Qt Quick 3D potentially contains third party modules
148under the following permissive licenses:
149
150\generatelist{groupsbymodule attributions-qtquick3d}
151*/