Doc: Document merge of views
Update docs to reflect Texture Editor and Material Editor being merged to the Properties view. Task-number: QDS-14896 Change-Id: I7c5774d00b3a5f60f70c54401dc25b00bed267f2 Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
@@ -248,7 +248,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a>Textures</a>
|
<li><a>Textures</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="studio-texture-editor.html">Textures</a></li>
|
<li><a href="studio-material-editor.html#working-with-textures">Textures</a></li>
|
||||||
<li><a href="studio-3d-texture.html">The Texture component</a></li>
|
<li><a href="studio-3d-texture.html">The Texture component</a></li>
|
||||||
<li><a href="studio-content-library.html#adding-a-texture-or-environment-to-your-project">Using Content Library textures</a></li>
|
<li><a href="studio-content-library.html#adding-a-texture-or-environment-to-your-project">Using Content Library textures</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -435,14 +435,13 @@
|
|||||||
<li><a href="qtquick-curve-editor.html">Curves</a></li>
|
<li><a href="qtquick-curve-editor.html">Curves</a></li>
|
||||||
<li><a href="qtquick-effect-composer-view.html">Effect Composer</a></li>
|
<li><a href="qtquick-effect-composer-view.html">Effect Composer</a></li>
|
||||||
<li><a href="creator-file-system-view.html">File System</a></li>
|
<li><a href="creator-file-system-view.html">File System</a></li>
|
||||||
<li><a href="studio-material-editor.html">Material Editor and Browser</a></li>
|
<li><a href="studio-material-editor.html">Material Browser</a></li>
|
||||||
<li><a href="qtquick-navigator.html">Navigator</a></li>
|
<li><a href="qtquick-navigator.html">Navigator</a></li>
|
||||||
<li><a href="creator-open-documents-view.html">Open Documents</a></li>
|
<li><a href="creator-open-documents-view.html">Open Documents</a></li>
|
||||||
<li><a href="creator-projects-view.html">Projects</a></li>
|
<li><a href="creator-projects-view.html">Projects</a></li>
|
||||||
<li><a href="qtquick-properties-view.html">Properties</a></li>
|
<li><a href="qtquick-properties-view.html">Properties</a></li>
|
||||||
<li><a href="studio-qt-insight.html">Qt Insight</a></li>
|
<li><a href="studio-qt-insight.html">Qt Insight</a></li>
|
||||||
<li><a href="qtquick-states-view.html">States</a></li>
|
<li><a href="qtquick-states-view.html">States</a></li>
|
||||||
<li><a href="studio-texture-editor.html">Texture Editor</a></li>
|
|
||||||
<li><a href="qtquick-timeline-view.html">Timeline</a></li>
|
<li><a href="qtquick-timeline-view.html">Timeline</a></li>
|
||||||
<li><a href="qtquick-transition-editor.html">Transitions</a></li>
|
<li><a href="qtquick-transition-editor.html">Transitions</a></li>
|
||||||
<li><a href="studio-translations.html">Translations</a></li>
|
<li><a href="studio-translations.html">Translations</a></li>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
\title Fresnel properties on materials
|
\title Fresnel properties on materials
|
||||||
\brief Illustrates how to work with Fresnel.
|
\brief Illustrates how to work with Fresnel.
|
||||||
\sa {Material Editor and Browser}, {Setting image-based lighting}, {Directional Light},
|
\sa {Material Browser}, {Setting image-based lighting}, {Directional Light},
|
||||||
{3D models}, {Content Library}
|
{3D models}, {Content Library}
|
||||||
|
|
||||||
\image fresnel-example.webp
|
\image fresnel-example.webp
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li In \uicontrol {Material Browser}, double-click a material.
|
\li In \uicontrol {Material Browser}, double-click a material.
|
||||||
\li In \uicontrol {Material Editor}, find the properties under
|
\li In \uicontrol {Properties}, find the properties under
|
||||||
\uicontrol {Clearcoat} and \uicontrol {Fresnel} respectively.
|
\uicontrol {Clearcoat} and \uicontrol {Fresnel} respectively.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
To create a new material with Fresnel:
|
To create a new material with Fresnel:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li In \uicontrol {Material Editor}, select \imageplus.
|
\li In \uicontrol {Material Browser}, select \imageplus.
|
||||||
\li Edit the properties under \uicontrol {Clearcoat} and \uicontrol {Fresnel} respectively.
|
\li Edit the properties under \uicontrol {Clearcoat} and \uicontrol {Fresnel} respectively.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 37 KiB |
@@ -34,12 +34,12 @@
|
|||||||
\li Yes
|
\li Yes
|
||||||
\li The \uicontrol 3D view is not a part of \QUL or \QMCU.
|
\li The \uicontrol 3D view is not a part of \QUL or \QMCU.
|
||||||
\row
|
\row
|
||||||
\li \l {Material Editor and Browser}
|
\li \l {Material Browser}
|
||||||
\li \e {Not applicable}
|
\li \e {Not applicable}
|
||||||
\li \e {Not applicable}
|
\li \e {Not applicable}
|
||||||
\li Yes
|
\li Yes
|
||||||
\li The \uicontrol {Material Editor} and \uicontrol {Material Browser} views
|
\li The \uicontrol {Material Browser} view
|
||||||
are not a part of \QUL or \QMCU.
|
is not a part of \QUL or \QMCU.
|
||||||
\row
|
\row
|
||||||
\li \l {Components}
|
\li \l {Components}
|
||||||
\li Yes
|
\li Yes
|
||||||
@@ -124,12 +124,6 @@
|
|||||||
\li \e {Not applicable}
|
\li \e {Not applicable}
|
||||||
\li Yes
|
\li Yes
|
||||||
\li The \uicontrol {Content Library} view is not a part of \QUL or \QMCU.
|
\li The \uicontrol {Content Library} view is not a part of \QUL or \QMCU.
|
||||||
\row
|
|
||||||
\li \l {Texture Editor}
|
|
||||||
\li \e {Not applicable}
|
|
||||||
\li \e {Not applicable}
|
|
||||||
\li Yes
|
|
||||||
\li The \uicontrol {Texture Editor} view is not a part of \QUL or \QMCU.
|
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@@ -28,14 +28,13 @@
|
|||||||
\li \l{Curves}
|
\li \l{Curves}
|
||||||
\li \l{Effect Composer}
|
\li \l{Effect Composer}
|
||||||
\li \l{File System}
|
\li \l{File System}
|
||||||
\li \l{Material Editor and Browser}
|
\li \l{Material Browser}
|
||||||
\li \l{Navigator}
|
\li \l{Navigator}
|
||||||
\li \l{Open Documents}
|
\li \l{Open Documents}
|
||||||
\li \l{Projects}
|
\li \l{Projects}
|
||||||
\li \l{Properties}
|
\li \l{Properties}
|
||||||
\li \l{Qt Insight}
|
\li \l{Qt Insight}
|
||||||
\li \l{States}
|
\li \l{States}
|
||||||
\li \l{Texture Editor}
|
|
||||||
\li \l{Timeline}
|
\li \l{Timeline}
|
||||||
\li \l{Transitions}
|
\li \l{Transitions}
|
||||||
\li \l{Translations}
|
\li \l{Translations}
|
||||||
|
@@ -55,7 +55,6 @@
|
|||||||
in the \uicontrol 3D view. From the context menu you can, for example:
|
in the \uicontrol 3D view. From the context menu you can, for example:
|
||||||
\list
|
\list
|
||||||
\li Create cameras, lights, and models.
|
\li Create cameras, lights, and models.
|
||||||
\li Open \uicontrol {Material Editor} and edit materials.
|
|
||||||
\li Delete components.
|
\li Delete components.
|
||||||
\li Align camera views.
|
\li Align camera views.
|
||||||
\endlist
|
\endlist
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
The complexity of a shader depends on a combination of the properties that
|
The complexity of a shader depends on a combination of the properties that
|
||||||
are set on it, and the context of the scene itself.
|
are set on it, and the context of the scene itself.
|
||||||
|
|
||||||
It is recommended that you use the \l {Material Editor and Browser} when
|
It is recommended that you use \l {Material Browser} when
|
||||||
working with materials, but you can also add materials using the components
|
working with materials, but you can also add materials using the components
|
||||||
library.
|
library.
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
more information, see \l {Textures}.
|
more information, see \l {Textures}.
|
||||||
|
|
||||||
You can create and modify materials in
|
You can create and modify materials in
|
||||||
\uicontrol {Material Editor} and \uicontrol {Material Browser}. The availability
|
\uicontrol {Material Editor} and \uicontrol {Properties}. The availability
|
||||||
of the properties depends on the material type.
|
of the properties depends on the material type.
|
||||||
|
|
||||||
\image studio-qtquick-3d-default-material.webp "DefaultMaterial properties"
|
\image studio-qtquick-3d-default-material.webp "DefaultMaterial properties"
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
A model component loads mesh data from a file. Modify how the
|
A model component loads mesh data from a file. Modify how the
|
||||||
component is shaded by using materials. For more information, see
|
component is shaded by using materials. For more information, see
|
||||||
\l {Materials and shaders} and \l {Material Editor and Browser}.
|
\l {Materials and shaders} and \l {Material Browser}.
|
||||||
|
|
||||||
\section1 Using a primitive 3D model
|
\section1 Using a primitive 3D model
|
||||||
|
|
||||||
|
@@ -102,18 +102,18 @@
|
|||||||
|
|
||||||
\note If the colors in your texture are not visualized
|
\note If the colors in your texture are not visualized
|
||||||
correctly, try setting the \uicontrol {Base Color}
|
correctly, try setting the \uicontrol {Base Color}
|
||||||
in \uicontrol {Material Editor} to \e {white (#ffffff)}.
|
in \uicontrol {Properties} to \e {white (#ffffff)}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-material-texture.webp {Material Editor}
|
\image studio-qtquick-3d-material-texture.webp {Material properties in the Properties view.}
|
||||||
|
|
||||||
To change the source file for the texture:
|
To change the source file for the texture:
|
||||||
\list 1
|
\list 1
|
||||||
\li Double-click the texture in \uicontrol {Material Browser}.
|
\li Select the texture in \uicontrol {Material Browser}.
|
||||||
\li In \uicontrol {Texture Editor}, select \imageaddfile16px
|
\li In \uicontrol {Properties}, select \imageaddfile16px
|
||||||
next to \uicontrol {Source}.
|
next to \uicontrol {Source}.
|
||||||
\li Select the new texture.
|
\li Select the new texture.
|
||||||
\li Select \uicontrol Open.
|
\li Select \uicontrol Open.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\image studio-qtquick-3d-texture-properties.webp {Texture Editor}
|
\image {studio-qtquick-3d-texture-properties.webp} {Texture properties in the Properties view.}
|
||||||
*/
|
*/
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2024 The Qt Company Ltd.
|
// Copyright (C) 2025 The Qt Company Ltd.
|
||||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -8,59 +8,41 @@
|
|||||||
|
|
||||||
\ingroup studio-views
|
\ingroup studio-views
|
||||||
|
|
||||||
\title Material Editor and Browser
|
\title Material Browser
|
||||||
|
|
||||||
\brief Create and manage materials and textures.
|
\brief Create and manage materials and textures.
|
||||||
|
|
||||||
In the \uicontrol {Material Editor} and \uicontrol {Material Browser} views,
|
In the \uicontrol {Material Browser} view,
|
||||||
you create and manage materials and textures.
|
you create and manage materials and textures.
|
||||||
|
|
||||||
\image material-editor-browser.webp "Material Editor and Browser"
|
\image {material-editor-browser.webp} {Materials and textures in the Material Browser view.}
|
||||||
|
|
||||||
\section1 Working with Materials
|
\section1 Working with Materials
|
||||||
|
|
||||||
\section2 Creating a material
|
\section2 Creating a material
|
||||||
|
|
||||||
To create a new material, do one of the following:
|
To create a new material, select \imageaddmaterial
|
||||||
|
|
||||||
\list
|
|
||||||
\li In \uicontrol {Material Browser}, select \imageaddmaterial
|
|
||||||
\imageplus
|
\imageplus
|
||||||
.
|
.
|
||||||
\li In \uicontrol {Material Editor}, select \imageplus
|
in the {Material Browser}.
|
||||||
.
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\section2 Editing a material
|
\section2 Editing a material
|
||||||
|
|
||||||
To edit a material, select it in \uicontrol{Material Browser} and edit its
|
To edit a material, double-click it in \uicontrol{Material Browser} and edit its
|
||||||
properties in \uicontrol{Material Editor}. If \uicontrol {Material Editor}
|
properties in the \uicontrol{Properties} view.
|
||||||
is closed, open it in one of the following ways:
|
|
||||||
|
|
||||||
\list
|
|
||||||
\li In \uicontrol{Navigator}, right-click an object that has the material
|
|
||||||
assigned to it and select \uicontrol {Edit Material}.
|
|
||||||
\li In \uicontrol{Material Browser}, double-click a material.
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\section2 Assigning a material to an object
|
\section2 Assigning a material to an object
|
||||||
|
|
||||||
To assign a material to a 3D object in your project, drag the material from
|
To assign a material to a 3D object in your project, do one of the follwing:
|
||||||
\uicontrol {Material Browser} to the object in the \uicontrol Navigator or
|
|
||||||
\uicontrol 3D view.
|
|
||||||
|
|
||||||
Additionally, you can also first select the object
|
|
||||||
in the \uicontrol Navigator or \uicontrol{3D} view, and then do one of the
|
|
||||||
following:
|
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li In \uicontrol {Material Browser}, right-click the material and select
|
\li Drag the material from \uicontrol {Material Browser} to the object in
|
||||||
\uicontrol {Apply to Selected}. If there already is any material assigned
|
the \uicontrol Navigator or \uicontrol 3D view.
|
||||||
to the object, you can select whether to replace the material or to add
|
\li Select the object in the \uicontrol Navigator or \uicontrol{3D} view,
|
||||||
|
and then in \uicontrol {Material Browser}, right-click the material and select
|
||||||
|
\uicontrol {Apply to Selected}. If there already is a material assigned
|
||||||
|
to the object, select whether to replace the material or to add
|
||||||
another material to the object.
|
another material to the object.
|
||||||
\li In \uicontrol {Material Editor}, select
|
|
||||||
\imageapply
|
|
||||||
. This replaces any material already assigned to the object.
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section2 Removing a material from an object
|
\section2 Removing a material from an object
|
||||||
@@ -94,18 +76,6 @@
|
|||||||
\note You can't copy material properties between materials of different
|
\note You can't copy material properties between materials of different
|
||||||
material types.
|
material types.
|
||||||
|
|
||||||
\section2 Using texture maps
|
|
||||||
|
|
||||||
In \QDS you can add many different texture maps to your material.
|
|
||||||
|
|
||||||
To add a texture map to a material:
|
|
||||||
\list 1
|
|
||||||
\li Select the material in \uicontrol{Material Browser}.
|
|
||||||
\li From \uicontrol {Assets}, drag an image to the correct map field
|
|
||||||
in \uicontrol {Material Editor}. For example, to add a diffuse map, drag
|
|
||||||
the image to \uicontrol{Diffuse Map} in \uicontrol{Material Editor}.
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\section3 Using a reflection map for environmental mapping
|
\section3 Using a reflection map for environmental mapping
|
||||||
|
|
||||||
To use a texture for environmental mapping, you need to set the mapping
|
To use a texture for environmental mapping, you need to set the mapping
|
||||||
@@ -285,17 +255,16 @@
|
|||||||
\uicontrol {Create new texture}.
|
\uicontrol {Create new texture}.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\note You can also create textures from the \l {Assets} or
|
|
||||||
\l {Texture Editor} views.
|
|
||||||
|
|
||||||
\section2 Applying a texture to a material
|
\section2 Applying a texture to a material
|
||||||
|
|
||||||
To apply a texture to a material, select the material in
|
To apply a texture to a material, do one of the following:
|
||||||
\uicontrol {Material Browser} and do one of the following:
|
|
||||||
\list
|
\list
|
||||||
\li Right-click the texture and select
|
\li From \uicontrol {Assets}, \uicontrol {Content Library}, or
|
||||||
\uicontrol {Apply to selected material}.
|
\uicontrol {Material Browser}, drag a texture to a material in
|
||||||
\li Drag the texture to a supported property in the
|
\uicontrol {Material Browser} or to a 3D object in the \uicontrol {3D}
|
||||||
\uicontrol {Material Editor}
|
or \uicontrol {Navigator} view.
|
||||||
|
\li In \uicontrol {Material Browser}, select the material and then
|
||||||
|
right-click the texture and select \uicontrol {Apply to selected material}.
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
@@ -1,51 +0,0 @@
|
|||||||
// Copyright (C) 2024 The Qt Company Ltd.
|
|
||||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\page studio-texture-editor.html
|
|
||||||
\previouspage studio-content-library.html
|
|
||||||
\nextpage studio-qt-insight.html
|
|
||||||
|
|
||||||
\ingroup studio-views
|
|
||||||
|
|
||||||
\title Texture Editor
|
|
||||||
|
|
||||||
\brief Create and manage textures.
|
|
||||||
|
|
||||||
In the \uicontrol {Texture Editor} view, you create and manage textures.
|
|
||||||
|
|
||||||
\image texture-editor.webp "Texture Editor"
|
|
||||||
|
|
||||||
\section1 Creating a texture
|
|
||||||
|
|
||||||
To create a texture, select \imageplus
|
|
||||||
in the \uicontrol {Texture Editor} view.
|
|
||||||
|
|
||||||
\note You can also create textures from the
|
|
||||||
\l{creating texture material browser}{Material Browser view}.
|
|
||||||
|
|
||||||
When you create a texture, it is empty. To add an image to the texture,
|
|
||||||
do one of the following:
|
|
||||||
|
|
||||||
\list
|
|
||||||
\li In the \uicontrol{Texture Editor} view, set the image in the
|
|
||||||
\uicontrol Source property.
|
|
||||||
\li From the \uicontrol Assets view, drag an image to the
|
|
||||||
\uicontrol Source property in the \uicontrol {Texture Editor} view.
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\section1 Applying a texture to a material
|
|
||||||
|
|
||||||
To apply a texture to a material, first select the material in the
|
|
||||||
\uicontrol {Material Browser} view and then:
|
|
||||||
\list 1
|
|
||||||
\li Select \imageapply
|
|
||||||
.
|
|
||||||
\li Select the material and property that you want to add the texture to.
|
|
||||||
\image select-material-property.png "Select a material property"
|
|
||||||
\endlist
|
|
||||||
|
|
||||||
\note You can also apply textures to materials in the
|
|
||||||
\l {Material Editor and Browser}{Material Browser view}.
|
|
||||||
|
|
||||||
*/
|
|