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



  • 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



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


  • Lifetime Qt Champion

    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.



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.