diff options
author | Mats Honkamaa <mats.honkamaa@qt.io> | 2019-02-06 09:18:29 +0200 |
---|---|---|
committer | Mats Honkamaa <mats.honkamaa@qt.io> | 2019-02-11 08:10:40 +0000 |
commit | 89390421091d40b4dd8f34c5419257b3418ab57f (patch) | |
tree | f6e40faa846eb99148f3b9e0cca6ff2df3c8ac03 | |
parent | 05ea7909ee2cdf611aa0e7bb98165e4aed55cf9c (diff) |
Add 2D assets page
Adding a page for 2D Assets overview, with links to relevant content.
Task-number: QT3DS-2615
Change-Id: Id52c7ca54028aaeda6e59424cb6c9925b3d8c03e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r-- | doc/src/00-concepts.qdoc | 1 | ||||
-rw-r--r-- | doc/src/2d-assets.qdoc | 121 |
2 files changed, 122 insertions, 0 deletions
diff --git a/doc/src/00-concepts.qdoc b/doc/src/00-concepts.qdoc index 287a513b..0858ee13 100644 --- a/doc/src/00-concepts.qdoc +++ b/doc/src/00-concepts.qdoc @@ -61,6 +61,7 @@ interactive presentations, UIs and applications. \endlist \li \b {\l{Graphics}} \list + \li \l{2D Assets} \li \l{Working with 3D Content}{3D Assets} \li \l{Layers} \li \l{Materials and Shaders} diff --git a/doc/src/2d-assets.qdoc b/doc/src/2d-assets.qdoc new file mode 100644 index 00000000..d048959f --- /dev/null +++ b/doc/src/2d-assets.qdoc @@ -0,0 +1,121 @@ +/**************************************************************************** +** +** Copyright (C) 2019 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt 3D Studio. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: https://www.gnu.org/licenses/fdl-1.3.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! +\page 2d-assets.html +\title 2D Assets + +In Studio, you can import images to use as textures. The following image file formats +are supported: + +\table + \header + \li File format + \li Extensions + \row + \li PNG + \li \c{.png} + \row + \li JPEG + \li \c{.jpg}, \c{.jpeg} + \row + \li DirectDraw Surface + \li \c{.dds} + \row + \li BMP + \li \c{.bmp} + \row + \li GIF + \li \c{.gif} + \row + \li HDRI (High Dynamic Range Imaging) + \li \c{.hdr} + \row + \li Khronos texture container + \li \c{.ktx} +\endtable + +\section1 Using Textures on Materials +Images can be used as the following textures on materials: + +\list + \li + Diffuse Map + \li + Roughness Map + \li + Opacity Map + \li + Emissive Map + \li + Bump Map + \li + Normal Map + \li + Displacement Map + \li + Translucency Map + \li + Specular Map + \li + Specular Reflection + \li + Indirect Lightmap + \li + Shadow Lightmap + \li + IBL Override +\endlist + +Read more about working with \l Materials. + +\section1 Compressed Textures + +Qt 3D Studio supports the Khronos texture container file format \e ktx. You can apply \e ktx files +as texture maps just as any other file format. However, if your system does not support the \e ktx +format, the textures will not be visible in Qt 3D Studio. + +If you enable the \uicontrol {Use ktx textures if available} feature, you can use \e png +images in Studio, and then use \e ktx images in their place in the Viewer. + +\list 1 + \li In the Studio menu, click \uicontrol{Edit > Presentation Settings} + \li Check the \uicontrol {Use ktx textures if available} check box. +\endlist + +\section1 Optimizing Images + +Optimizing the images in your presentation can substantially improve both the startup and runtime +performance of your application, as well as the visual quality in certain situations. Read more +about \l{Optimizing Images}. + +\section1 Image-Based Lighting + +HDR images can be used as light probes for environment lighting in Studio. Read more about +\l{Image-Based Lighting}. + +*/ |