Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Blendshapes: How to access QMesh skinned mesh Renderer like Unity3D?
Forum Updated to NodeBB v4.3 + New Features

Blendshapes: How to access QMesh skinned mesh Renderer like Unity3D?

Scheduled Pinned Locked Moved Unsolved Game Development
4 Posts 3 Posters 1.5k Views 1 Watching
  • 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.
  • W Offline
    W Offline
    wenzhixiao
    wrote on last edited by wenzhixiao
    #1

    I have loaded my fbx (export from blender include blendshapes) and shows my fbx model ok.
    But there are no examples how to access and run the blendshapes in fbx, i know Qt3D has the class Qt3DAnimation::QMorphingAnimation and QMorphTargets, but there are no instructions how to use this class.
    someone can help me? I need C++, Thanks.

    Qt3DCore::QEntity *rootEntity = new Qt3DCore::QEntity;
    
    Qt3DRender::QMesh *fbxMesh = new Qt3DRender::QMesh(rootEntity);
    fbxMesh->setSource(QUrl(QStringLiteral("qrc:/cat.fbx")));
    

    This is my fbx model showing in Qt3D window.
    0_1537200661596_Snip20180918_4.png
    Thiis is my fbx blendshapes showing in Unity3D.
    0_1537200820773_Snip20180918_5.png

    W 1 Reply Last reply
    0
    • W wenzhixiao

      I have loaded my fbx (export from blender include blendshapes) and shows my fbx model ok.
      But there are no examples how to access and run the blendshapes in fbx, i know Qt3D has the class Qt3DAnimation::QMorphingAnimation and QMorphTargets, but there are no instructions how to use this class.
      someone can help me? I need C++, Thanks.

      Qt3DCore::QEntity *rootEntity = new Qt3DCore::QEntity;
      
      Qt3DRender::QMesh *fbxMesh = new Qt3DRender::QMesh(rootEntity);
      fbxMesh->setSource(QUrl(QStringLiteral("qrc:/cat.fbx")));
      

      This is my fbx model showing in Qt3D window.
      0_1537200661596_Snip20180918_4.png
      Thiis is my fbx blendshapes showing in Unity3D.
      0_1537200820773_Snip20180918_5.png

      W Offline
      W Offline
      wenzhixiao
      wrote on last edited by
      #2

      @wenzhixiao I reply this by myself. I found a way to solve this , i need FBX SDK to read blendshapes and animate it.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Glad you found out and thanks for sharing !

        Would you mind giving some more details about what you did ? It could help other people in the same situation as you.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TheQuaternion
          wrote on last edited by
          #4

          How were you able to load an FBX after including Autodesk FBX SDK?

          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