I was exporting from blender to glTF for greater control that wahat you get with assimp importing blend files.

In general be cautious of importing blend files for direct realtime use as the models are often created for path-traced rendering rather than real time constraints. It's usually better to 1) get what you want and 2) not pay the price at runtime for the conversion.

Cheers,

Sean

On 19/03/2018 19:47, Andy wrote:
Not sure if it helps the discussion, but taking a quick look at AssimpImporter::assimpSupportedFormats() in qt3d/src/plugins/sceneparsers/assimp/assimpimporter.cpp, "blend" is in fact listed as a supported format (along with 52 other formats).

Wasn't Sean loading them in some of his examples where he was using Blender? Or was he saving to a different format?

---
Andy Maloney  // https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>


On Mon, Mar 19, 2018 at 2:57 PM, Andy Shaw <andy.s...@qt.io <mailto:andy.s...@qt.io>> wrote:

     From what I was informed, Blender is not supported via Assimp,
    although Assimp indicates it as a supported format, but Qt 3D is not
    able to load it. Is this incorrect? Is Qt 3D able to load a Blender
    file via Assimp into QSceneLoader?


    Andy

    ------------------------------------------------------------------------
    *Fra:* Interest <interest-bounces+andy.shaw=qt...@qt-project.org
    <mailto:qt...@qt-project.org>> på vegne av Martin Koller
    <kol...@aon.at <mailto:kol...@aon.at>>
    *Sendt:* 16. mars 2018 17:11:44
    *Til:* KDAB Mike Krus
    *Kopi:* interest@qt-project.org <mailto:interest@qt-project.org>
    *Emne:* Re: [Interest] Qt-3D scene file formats
    On Freitag, 16. März 2018 13:43:53 CET Mike Krus wrote:
    > Hi
> > > On 16 Mar 2018, at 08:04, Martin Koller <kol...@aon.at <mailto:kol...@aon.at>> wrote: > > > > What are the possible file formats the QSceneLoader can load (Qt 5.10, Linux openSuse 42.3) ?
    > > Is blender among them ?
    > SceneLoader uses Assimp internally for doing the actual parsing, please 
see [1] for the list of
    > formats that supports.
> > Mike > > [1] https://github.com/assimp/assimp#supported-file-formats
    <https://github.com/assimp/assimp#supported-file-formats>

    Thanks. This is what I already found, but Qt Support told me I'm
    wrong and the QSceneLoader can not load blender files.
    So, who is right ?

    BTW: The link in the Qt documentation
    http://doc.qt.io/qt-5/qt3drender-qsceneloader.html
    <http://doc.qt.io/qt-5/qt3drender-qsceneloader.html>
    to the list of formats is stale.
    It points to http://www.assimp.org/main_features_formats.html
    <http://www.assimp.org/main_features_formats.html>

-- Best regards/Schöne Grüße

    Martin
    A: Because it breaks the logical sequence of discussion
    Q: Why is top posting bad?

    ()  ascii ribbon campaign - against html e-mail
    /\                        - against proprietary attachments

    Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at
    <http://www.lillehus.at>


    _______________________________________________
    Interest mailing list
    Interest@qt-project.org <mailto:Interest@qt-project.org>
    http://lists.qt-project.org/mailman/listinfo/interest
    <http://lists.qt-project.org/mailman/listinfo/interest>

    _______________________________________________
    Interest mailing list
    Interest@qt-project.org <mailto:Interest@qt-project.org>
    http://lists.qt-project.org/mailman/listinfo/interest
    <http://lists.qt-project.org/mailman/listinfo/interest>




_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to