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

Qt3D.GLTFGeometryLoader can't load glTF created in Blender or 3DS Max

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.1
    • Qt3D
    • None
    • Windows

    Description

      glTF files created or changed in Blender 2.90 or 3DS Max 2021 can't be loaded.  These errors are shown:

      Qt3D.GLTFGeometryLoader: unknown buffer-view: 3 processing accessor: botmesh
      Qt3D.GLTFGeometryLoader: unknown buffer-view: 1 processing accessor: botmesh
      Qt3D.GLTFGeometryLoader: unknown buffer-view: 0 processing accessor: botmesh
      Qt3D.GLTFGeometryLoader: unknown buffer-view: 2 processing accessor: botmesh
      Qt3D.GLTFGeometryLoader: unknown buffer-view: 4 processing accessor: botmesh
      Qt3D.GLTFGeometryLoader: unknown buffer-view: 5 processing accessor: botmesh
      

      How To reproduce:

      1) git clone https://github.com/KDAB/qt3d-examples
      2) Replace qt3d-examples-master/resources/assets/gltf/2.0/Robot/robot.gltf and robot.bin files with the changed via Blender 2.90 (in the attachment)
      3) Load "blended-skinned-animation" example.
      

      Pure c++ example is in the attachment (main.cpp).

      Only reexported robot model from Blender 2.78 work. None of the official KhronosGroup models can be loaded before and after reexporting them via any version of Blender or 3DS  Max, the same errors are shown. KhronosGroup examples:

      https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0

       

      Attachments

        1. main.cpp
          3 kB
        2. robot_rexeported.bin
          1003 kB
        3. robot_rexeported.gltf
          166 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            alexey89 alexey89
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes