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.
Thiis is my fbx blendshapes showing in Unity3D.
-
@wenzhixiao I reply this by myself. I found a way to solve this , i need FBX SDK to read blendshapes and animate it.
-
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?