/****************************************************************************
**
** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Bridge documentation.
**
** 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.
**
****************************************************************************/

/*!
    \page studio-importing-3d.html
    \if defined(qtdesignstudio)
    \previouspage qtquick-fonts.html
    \else
    \previouspage exporting-from-maya.html
    \endif
    \nextpage creator-exporting-qml.html

    \title Importing 3D Assets

    In \QDS, you can import 3D assets in formats such as .stl, .dae, .fbx, .glb,
    .gltf, .obj, .uia, and .uip. For a list of formats supported by each
    \l{Qt Quick 3D} version, see the module documentation.

    During the import, you can optimize the files for \QDS. You can remove
    components from meshes to reduce the cache size, find and fix issues in
    the files, optimize graphs and meshes, and so on. The available options
    depend on whether you are importing files that you created with Qt 3D Studio
    or with other 3D graphics tools. See the tooltips in the options dialog
    for more information about a particular option.

    For more information about exporting 3D graphics, see
    \l{Exporting 3D Assets}.

    \image studio-import-3d.png

    \section1 Importing a 3D Asset

    To import a 3D asset to a \QDS project:

    \list 1
        \li Drag-and-drop an external file containing the 3D asset from,
            for example, File Explorer (on Windows), to the \uicontrol{3D} view.
        \li In the \uicontrol {3D Scene Options} tab, select options for
            importing the file.
            \note To see all options, select \uicontrol{Show All Options}.
        \li Select \uicontrol Import to import the 3D asset.
    \endlist

    The 3D asset is now added to your scene, and you can see it in the
    \uicontrol{3D} and \uicontrol Navigator views. It is also
    available in \uicontrol Components > \uicontrol {My 3D Components}.

    Alternatively, you can initiate the import dialog from the
    \uicontrol Assets view:

    \list 1
        \li Select \l Assets > \inlineimage icons/plus.png
            .
        \li Select \uicontrol {3D Assets} in the dropdown menu to filter 3D
            graphics files.
        \li Select a file to import, and then select \uicontrol Open.
        \li In the \uicontrol {3D Scene Options} tab, select options for
            importing the file.
            \note To see all options, select \uicontrol{Show All Options}.
        \li Select \uicontrol Import to import the 3D asset.
    \endlist

    The 3D asset now appears in \uicontrol Components >
    \uicontrol {My 3D Components}. You can add it to the scene by
    drag-and-dropping it to the \uicontrol{3D} view.

*/
