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. QtQuick3D access Model skeleton
Forum Updated to NodeBB v4.3 + New Features

QtQuick3D access Model skeleton

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtquick3dmodelskeleton
1 Posts 1 Posters 513 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.
  • D Offline
    D Offline
    Dmitry87
    wrote on 19 Nov 2020, 22:41 last edited by Dmitry87
    #1

    I use this tool to convert a glTF model with skeleton to a QML item and use it my qml 3D scene: https://doc.qt.io/qt-5/qtquick3d-tool-balsam.html
    The model has a skeleton with 3 bones. I try to access the skeleton from the Model items: Model.skeleton, but it always returns null and onSkeletonChanged is never called.

        Model {
            source: "meshes/mesh_0.mesh"
    
            Component.onCompleted:
            {
                console.log("test1 " + skeleton) // shows "test1 null"
            }
            onSkeletonChanged:
            {
                console.log("test2 " + skeleton) // never called
            }
        }
    

    How can I access the skeleton?

    Scene, generated by balsam tool: https://drive.google.com/file/d/1p8sb-4qxep8n-EuNHJ_YB9dTT5k5LvqB/view?usp=sharing
    Original 3D model: https://drive.google.com/file/d/1XeWCL81sk0iyNECiUXbPNTS7tdbvI0yv/view?usp=sharing

    1 Reply Last reply
    0

    1/1

    19 Nov 2020, 22:41

    • Login

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