Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120955

QSceneLoader and QMesh doesn't load many formats supported by open asset import library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.6.1
    • Qt3D
    • None
    • Windows

    Description

      As stated in the documentation, it states that the classes supports the foramtes list in open asset import library, that includes the following:-

      https://assimp.sourceforge.net/main_features_formats.html

      • Autodesk ( .fbx )
      • Collada ( .dae )
      • glTF ( .gltf, .glb )
      • Blender 3D ( .blend )
      • 3ds Max 3DS ( .3ds )
      • 3ds Max ASE ( .ase )
      • Wavefront Object ( .obj )
      • Industry Foundation Classes (IFC/Step) ( .ifc )
      • XGL ( .xgl,.zgl )
      • Stanford Polygon Library ( .ply )
      • {}AutoCAD DXF{*} ( .dxf )
      • LightWave ( .lwo )
      • LightWave Scene ( .lws )
      • Modo ( .lxo )
      • Stereolithography ( .stl )
      • DirectX X ( .x )
      • AC3D ( .ac )
      • Milkshape 3D ( .ms3d )
      • TrueSpace ( .cob,.scn )

      Yet, I tried loading a .blend and a .glb files, and they basically didn't load, it only worked for me with .obj and .stl files.

      I have reported this bug in Pyside channel, and I got instructed here (https://bugreports.qt.io/browse/PYSIDE-2581) to report it here with minimal C++ code, I have no knowledge about using Qt in C++ or even the tools I need to do so, But this doesn't mean such a critical problem can be just ignored like that, all I can offer is a minimal Pyside6 example.

      Attachments

        1. RGBMonkey.obj
          62 kB
        2. RGBMonkey.mtl
          0.6 kB
        3. RGBMonkey.glb
          70 kB
        4. RGBMonkey.blend
          1023 kB
        5. Qt3DTest.py
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            ahmedahmedeg Ahmed Ahmed Abd Al Maksoud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes