diff options
author | Mats Honkamaa <mats.honkamaa@qt.io> | 2022-09-19 10:32:36 +0300 |
---|---|---|
committer | Mats Honkamaa <mats.honkamaa@qt.io> | 2022-09-22 10:47:44 +0000 |
commit | be3444924798602eedf6f4c22985fe01cb6cf1de (patch) | |
tree | fe4c377d2449439044917dd65c36dc4b3ba122c7 | |
parent | 1f6061e88ab239426a6daed0d6f73059f05237ec (diff) |
Doc: Add info about 3D view context menu
Task-number: QDS-7494
Change-Id: Ic6fce90317e2ff5736ba20996ba30b1f338c36ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
5 files changed, 42 insertions, 12 deletions
diff --git a/doc/qtdesignstudio/images/3d-view-context-menu.png b/doc/qtdesignstudio/images/3d-view-context-menu.png Binary files differnew file mode 100644 index 0000000000..c2e35e0019 --- /dev/null +++ b/doc/qtdesignstudio/images/3d-view-context-menu.png diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-camera.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-camera.qdoc index a501eecfd0..2f6c05b24a 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-camera.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-camera.qdoc @@ -40,10 +40,18 @@ \image studio-qtquick-3d-components.png "Qt Quick 3D components in Components" - Add a camera by dragging-and-dropping one of the camera components from - \uicontrol Components > \uicontrol {Qt Quick 3D} > \uicontrol - {Qt Quick 3D} to the \l {3D} view or to a 3D view in \l Navigator. - If the cameras are not displayed in \uicontrol {Components}, add the + To add a camera component to your UI, do one of the following: + \list + \li Drag a camera component from \uicontrol Components > + \uicontrol {Qt Quick 3D} to the \l {3D} view or to + \l Navigator > \uicontrol {View3D} > \uicontrol Scene. + \li Right-click in the \uicontrol 3D view and select + \uicontrol Create > \uicontrol Cameras from the context menu. + \note You can only create \uicontrol {Camera Perspective} and + \uicontrol {Camera Ortographic} this way. + \endlist + + If you cannot find the camera components in \uicontrol {Components}, add the \uicontrol QtQuick3D module to your project, as described in \l {Adding and Removing Modules}. diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc index 8f0628aef0..5c2bf4f14b 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-editor.qdoc @@ -70,6 +70,16 @@ Additionally, you can toggle the visibility of the grid, selection boxes, icon gizmos, and camera frustums in the 3D scene. + There is a context menu in the \uicontrol 3D view. To open it, right-click + in the \uicontrol 3D view. From the context menu you can: + \list + \li Create cameras, lights, and models. + \li Open \uicontrol {Material Editor} and edit materials. + \li Delete components + \list + + \image 3d-view-context-menu.png + To refresh the contents of the \uicontrol{3D} view, press \key P or select the \inlineimage icons/reset.png (\uicontrol {Reset View}) button. diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc index deb6edbb64..d8fca3e346 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-lights.qdoc @@ -36,9 +36,14 @@ As a secondary light source, you can use \l{Setting the Light Probe} {image-based lighting}. - To add light components to your UI, drag-and-drop them from - \uicontrol Components > \uicontrol {Qt Quick 3D} to the \l {3D} view or to - \l Navigator > \uicontrol {Scene Environment} > \uicontrol Scene. + To add a light component to your UI, do one of the following: + \list + \li Drag a light component from \uicontrol Components > + \uicontrol {Qt Quick 3D} to the \l {3D} view or to + \l Navigator > \uicontrol {View3D} > \uicontrol Scene. + \li Right-click in the \uicontrol 3D view and select + \uicontrol Create > \uicontrol Lights from the context menu. + \endlist If you cannot find the light components in \uicontrol {Components}, add the \uicontrol {Qt Quick 3D} module to your project as instructed in diff --git a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-model.qdoc b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-model.qdoc index e4253f0bb6..0893eadd97 100644 --- a/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-model.qdoc +++ b/doc/qtdesignstudio/src/qtquick3d-editor/qtdesignstudio-3d-model.qdoc @@ -37,14 +37,21 @@ \image studio-3d-models.png "Various 3D models in the 3D view" - A Model component loads mesh data from a file. You can modify how the + A model component loads mesh data from a file. You can modify how the component is shaded by using materials. For more information, see \l {Materials and Shaders} and \l {Creating Custom Materials}. - You can drag-and-drop a model from \uicontrol Components - > \uicontrol {Qt Quick 3D} > \uicontrol {Qt Quick 3D} to the \l {3D} view or - to \l Navigator > \uicontrol {Scene Environment} > \uicontrol Scene. If the - models are not displayed in \uicontrol {Components}, you should add the + To add a model component to your UI, do one of the following: + \list + \li Drag a model component from \uicontrol Components > + \uicontrol {Qt Quick 3D} to the \l {3D} view or to + \l Navigator > \uicontrol {View3D} > \uicontrol Scene. + \li Right-click in the \uicontrol 3D view and select + \uicontrol Create > \uicontrol Primitives from the context menu. + \note You can not create \uicontrol Empty models this way. + \endlist + + If you cannot find the model components in \uicontrol {Components}, add the \uicontrol QtQuick3D module to your project, as described in \l {Adding and Removing Modules}. |