forked from qt-creator/qt-creator
Doc: Fix Library paths in 3D topics
Task-number: QDS-4007 Change-Id: I2ff199857bae2b1e9e8df327194b7c59a0af27df Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
\image studio-qtquick-3d-components.png "Qt Quick 3D components in Library"
|
||||
|
||||
You can add a camera to your scene by dragging-and-dropping one from
|
||||
\l Library > \uicontrol Components > \uicontrol QtQuick3D > \uicontrol
|
||||
\l Library > \uicontrol Components > \uicontrol {Qt Quick 3D} > \uicontrol
|
||||
{Qt Quick 3D} to \l {3D Editor} or to a 3D view in \l Navigator.
|
||||
If the cameras are not displayed in \uicontrol Library, you should add the
|
||||
\uicontrol QtQuick3D module to your project, as described in
|
||||
|
||||
@@ -31,10 +31,11 @@
|
||||
\title Using 3D Components
|
||||
|
||||
To use 3D components, you need to first add the required modules to your
|
||||
project in \l Library. For more information, see
|
||||
\l{Adding and Removing Modules}. You can then add 3D components to your scene
|
||||
by dragging-and-dropping them from \uicontrol Library > \uicontrol Components >
|
||||
\uicontrol QtQuick3D group to \l {3D Editor} or to a 3D view in \l Navigator.
|
||||
project in \l Library > \uicontrol Components > \inlineimage plus.png
|
||||
. For more information, see \l{Adding and Removing Modules}. You can then
|
||||
add 3D components to your scene by dragging-and-dropping them from
|
||||
\uicontrol Library > \uicontrol Components > \uicontrol {Qt Quick 3D} to
|
||||
\l {3D Editor} or to a 3D view in \l Navigator.
|
||||
|
||||
\note Using 3D components will affect the performance of your UI. You should
|
||||
not use 3D components if the same results can be achieved using 2D
|
||||
@@ -46,8 +47,8 @@
|
||||
\section1 Getting Started Videos
|
||||
|
||||
The following video shows you how to add the components included in the
|
||||
\uicontrol QtQuick3D module, such as 3D models, cameras, and lights, to your
|
||||
scene:
|
||||
\uicontrol {Qt Quick 3D} module, such as 3D models, cameras, and lights,
|
||||
to your scene:
|
||||
\youtube u3kZJjlk3CY
|
||||
|
||||
See the next video to learn more about the custom shader utilities, 3D
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
\l {Using Materials and Shaders}{materials}. If your scene did not contain
|
||||
them, you can add the corresponding \l {Using 3D Components}{Qt Quick 3D}
|
||||
components from \l Library > \uicontrol Components > \inlineimage plus.png
|
||||
> \uicontrol QtQuick3D > \uicontrol {Qt Quick 3D}.
|
||||
> \uicontrol {Qt Quick 3D} > \uicontrol {Qt Quick 3D}.
|
||||
|
||||
You can use the \l{Summary of the 3D Editor Toolbar Buttons}{toolbar buttons}
|
||||
to \e transform 3D components and manipulate the 3D scene. Transformation
|
||||
@@ -116,11 +116,11 @@
|
||||
\image studio-3d-editor-axis-helper.png "Axis helper in 3D Editor"
|
||||
|
||||
You can use scene cameras (2) to view the \uicontrol View3D component from a
|
||||
specific angle in \l {Form Editor} while editing scenes. Different
|
||||
types of cameras are available in \uicontrol Library > \uicontrol Components
|
||||
> \uicontrol QtQuick3D > \uicontrol {Qt Quick 3D}. For more information about
|
||||
using cameras in the scene, the available camera types, and their properties,
|
||||
see \l{Using Scene Camera}.
|
||||
specific angle in \l {Form Editor} while editing scenes. Different types of
|
||||
cameras are available in \uicontrol Library > \uicontrol Components
|
||||
> \uicontrol {Qt Quick 3D} > \uicontrol {Qt Quick 3D}. For more information
|
||||
about using cameras in the scene, the available camera types, and their
|
||||
properties, see \l{Using Scene Camera}.
|
||||
|
||||
\section1 Using Global and Local Orientation
|
||||
|
||||
|
||||
@@ -34,8 +34,9 @@
|
||||
|
||||
\QDS provides a set of 3D effects, which are visible in \l {Form Editor}.
|
||||
To apply a visual effect to a scene, drag-and-drop an effect from \l Library
|
||||
> \uicontrol Components > \uicontrol QtQuick3D > \uicontrol {Qt Quick 3D Effects}
|
||||
to a \uicontrol View3D component in \l Navigator.
|
||||
> \uicontrol Components > \uicontrol {Qt Quick 3D} >
|
||||
\uicontrol {Qt Quick 3D Effects} to a \uicontrol View3D component in
|
||||
\l Navigator.
|
||||
|
||||
You can use the \l Effect component available in \uicontrol
|
||||
{Qt Quick 3D Effects} > \uicontrol {Custom Shader Utils} as the base
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
To apply a 3D material to a component, you should first delete the default
|
||||
material and then drag-and-drop a new material from \l Library >
|
||||
\uicontrol Components > \uicontrol QtQuick3D >
|
||||
\uicontrol Components > \uicontrol {Qt Quick 3D Materials} >
|
||||
\uicontrol {Qt Quick 3D Materials} to a model component in \l Navigator.
|
||||
The materials you add to the model are listed in the model component's
|
||||
\l Properties view. You can apply the same material to another component as
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
component is shaded by adding \l{Using 3D Materials}{materials} to the model.
|
||||
|
||||
You can drag-and-drop a model from \uicontrol Library > \uicontrol Components
|
||||
> \uicontrol QtQuick3D > \uicontrol {Qt Quick 3D} to \l {3D Editor} or to
|
||||
\l Navigator > \uicontrol {Scene Environment} > \uicontrol Scene. If the
|
||||
> \uicontrol {Qt Quick 3D} > \uicontrol {Qt Quick 3D} to \l {3D Editor} or
|
||||
to \l Navigator > \uicontrol {Scene Environment} > \uicontrol Scene. If the
|
||||
models are not displayed in \uicontrol Library, you should add the
|
||||
\uicontrol QtQuick3D module to your project, as described in
|
||||
\l {Adding and Removing Modules}.
|
||||
|
||||
Reference in New Issue
Block a user