Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't use custom GLTF models in 5.15.1
QtWS25 Last Chance

Can't use custom GLTF models in 5.15.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
gltf qt3dskeletonloaderqt3d
2 Posts 2 Posters 740 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Dmitry87D Offline
    Dmitry87D Offline
    Dmitry87
    wrote on last edited by
    #1

    I use this example to load my 3d Models:
    https://github.com/KDAB/qt3d-examples/tree/master/blended-skinned-animation

    Inside it containes SkeletonLoader, which loads robot.glsl and the result looks like this:
    alt text
    I tried to use my own model, but it's not loaded and 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
    

    In the end I tried to load the original robot model in blender/3ds max and export back to gltf without any changes, and I still get the same set of errors.
    Here is the re-exported robot model via blender: https://drive.google.com/drive/folders/0B-LoKHqMYQiMTGl6WTN5OGxDT3c?usp=sharing
    It should be placed to qt3d-examples-master\resources\assets\gltf\2.0\Robot\ and renamed to robot.*
    Shall I use some special export settings or blender/3ds max 2021 exporters can't produce "valid" gltf files?

    1 Reply Last reply
    0
    • dakesseD Offline
      dakesseD Offline
      dakesse
      wrote on last edited by
      #2

      I have a similar problem. I get the following error message when loading a gltf file with the QML SkeletonLoader:

      [Qt][Qt3D.Renderer.Jobs][2] :0 :: Unknown buffer 0 when processing buffer view
      

      Neither self-exported files from Blender nor files downloaded from the gltf git (glTF-Sample-Models) are working.

      So I also need to know how to correctly export gltf or whether further adjustments in Qt are necessary in order to make it work.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved