QmlDesigner: Update images in the 3D Textures document

This patch updates the old images in the 3D Textures
document screenshot. Some descriptions were updated
to keep it relevent with the new changes.

Fixes: QDS-11564
Change-Id: Ia1acb9199d76e202373a45e801d290d7b1ae8505
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
This commit is contained in:
Pranta Dastider
2024-01-23 15:50:29 +01:00
committed by Pranta Ghosh Dastider
parent 2a430a5fa4
commit 2b59676b49
7 changed files with 27 additions and 24 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View File

@@ -12,7 +12,7 @@
You specify an image to use as the source file for the \uicontrol Texture, You specify an image to use as the source file for the \uicontrol Texture,
and also define how it is mapped to meshes in a 3D scene. and also define how it is mapped to meshes in a 3D scene.
\image studio-qtquick-3d-texture.png "Texture attached to a material in Design mode" \image studio-qtquick-3d-texture.webp {Texture attached to a material in Design mode}
\section1 Selecting the Mapping Method \section1 Selecting the Mapping Method
@@ -53,7 +53,7 @@
\section1 UV Scaling \section1 UV Scaling
The \uicontrol {U scale} and \uicontrol {V scale} properties define how The \uicontrol {U} and \uicontrol {V} scale properties define how
to scale the U and V texture coordinates when mapping to a mesh's UV to scale the U and V texture coordinates when mapping to a mesh's UV
coordinates. coordinates.
@@ -77,8 +77,8 @@
the component in the \uicontrol {U position} field. To offset the mapping the component in the \uicontrol {U position} field. To offset the mapping
from bottom to top, set it in the \uicontrol {V position} field. from bottom to top, set it in the \uicontrol {V position} field.
Specify the U and V pivot point in the \uicontrol {U pivot} and Specify the U and V pivot points in the \uicontrol {U} and
\uicontrol {V pivot} fields. \uicontrol {V} pivot fields.
To rotate the texture around the pivot point, specify rotation as degrees To rotate the texture around the pivot point, specify rotation as degrees
in the \uicontrol {UV rotation} field. A positive value indicates clockwise in the \uicontrol {UV rotation} field. A positive value indicates clockwise
@@ -89,28 +89,31 @@
\section1 Applying Textures to Materials \section1 Applying Textures to Materials
Drag-and-drop an image from \l Assets on a material to To create and apply a texture on the material from an image:
create a texture component. Dragging an image to a default or principled \list 1
material opens a \uicontrol {Select Texture Property} dialog. You can select \li Drag an image from \l Assets to a material
the property to attach the texture to in the \uicontrol {Set texture to property} in \uicontrol {Material Browser}.
field. For a custom material, you must assign the texture to a map. If the \li Select a property from the list of properties.
\uicontrol Texture component is not displayed in \uicontrol {Components}, \li Select \uicontrol Apply.
you should add the \uicontrol {Qt Quick 3D} module to your project, as \endlist
described in \l {Adding and Removing Modules}.
To use Texture components to apply textures to materials, drag-and-drop a Alternatively, you can add textures to materials as instructed
Texture component from \uicontrol Components > in \l {Working with Textures}.
\uicontrol {Qt Quick 3D} > \uicontrol {Qt Quick 3D} to a material component
in \l Navigator. The new texture should now be visible in the \l {2D}
and \l {3D} views. \note If the colors in your texture are not visualized
correctly, you should check the color in the \uicontrol Diffuse property of
the material and try changing it to white (#ffffff).
\image studio-qtquick-3d-material-texture.png "Material properties" \note If the colors in your texture are not visualized
correctly, try setting the \uicontrol {Base Color}
in \uicontrol {Material Editor} to \e {white (#ffffff)}.
To change the source file for the texture, select the \uicontrol Texture \image studio-qtquick-3d-material-texture.webp {Material Editor}
component in \uicontrol Navigator, go to the \l Properties view, and specify
a new image to use in the \uicontrol Source field.
\image studio-qtquick-3d-texture-properties.png "Texture properties" To change the source file for the texture:
\list 1
\li Double-click the texture in \uicontrol {Material Browser}.
\li In \uicontrol {Texture Editor}, select \inlineimage icons/add-file-16px.png
next to \uicontrol {Source}.
\li Select the new texture.
\li Select \uicontrol Open.
\endlist
\image studio-qtquick-3d-texture-properties.webp {Texture Editor}
*/ */