How to setup QT Creator to use Autodesk FBX SDK as a library?
up vote
1
down vote
favorite
The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:
https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654
I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)
This is my code, which works for .obj files
Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));
I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.
qt 3d fbx qt3d
add a comment |
up vote
1
down vote
favorite
The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:
https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654
I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)
This is my code, which works for .obj files
Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));
I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.
qt 3d fbx qt3d
Can there be differences betweenfbxfiles? Or is it one uniform standard likeobj? If the latter, then Qt3D supports loadingfbxfiles out of the box. At least in my project I can open and viewfbxfiles without installing any SDKs.
– Florian Blume
Nov 13 at 10:58
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
I think in order to obtain the skeleton you need load your 3D model using theQSceneLoaderclass.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
– Florian Blume
Nov 16 at 9:15
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:
https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654
I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)
This is my code, which works for .obj files
Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));
I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.
qt 3d fbx qt3d
The Qt documentation for QMesh at the following link, https://doc.qt.io/qt-5.11/qt3drender-qmesh.html, shows that QMesh supports FBX when using the Autodesk FBX SDK. It provides no resource about how to go about setting this up, so I searched and found 1 resource on setting up the FBX SDK with Qt Creator at the following link:
https://forums.autodesk.com/t5/fbx-forum/including-sdk-to-qt-creator/td-p/8184654
I tried the above solution, but when I try to load the QMesh I still get a Debug warning that: Qt3D.Renderer.Jobs: unsupported format encountered (fbx)
This is my code, which works for .obj files
Qt3DRender::QMesh* mesh = new Qt3DRender::QMesh();
mesh->setSource(QUrl::fromLocalFile(filepath));
I'm not sure if the "fbx geometry loader plugin is built and found" which according the Qt documentation is needed. I put the proper reference to the library in my .pro, but as far as I can tell setSource still doesn't know to utilize FBX files.
qt 3d fbx qt3d
qt 3d fbx qt3d
edited Nov 11 at 17:37
asked Nov 9 at 22:49
karamazovbros
3411217
3411217
Can there be differences betweenfbxfiles? Or is it one uniform standard likeobj? If the latter, then Qt3D supports loadingfbxfiles out of the box. At least in my project I can open and viewfbxfiles without installing any SDKs.
– Florian Blume
Nov 13 at 10:58
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
I think in order to obtain the skeleton you need load your 3D model using theQSceneLoaderclass.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
– Florian Blume
Nov 16 at 9:15
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16
add a comment |
Can there be differences betweenfbxfiles? Or is it one uniform standard likeobj? If the latter, then Qt3D supports loadingfbxfiles out of the box. At least in my project I can open and viewfbxfiles without installing any SDKs.
– Florian Blume
Nov 13 at 10:58
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
I think in order to obtain the skeleton you need load your 3D model using theQSceneLoaderclass.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.
– Florian Blume
Nov 16 at 9:15
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16
Can there be differences between
fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.– Florian Blume
Nov 13 at 10:58
Can there be differences between
fbx files? Or is it one uniform standard like obj? If the latter, then Qt3D supports loading fbx files out of the box. At least in my project I can open and view fbx files without installing any SDKs.– Florian Blume
Nov 13 at 10:58
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
I think in order to obtain the skeleton you need load your 3D model using the
QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.– Florian Blume
Nov 16 at 9:15
I think in order to obtain the skeleton you need load your 3D model using the
QSceneLoader class.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.– Florian Blume
Nov 16 at 9:15
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234263%2fhow-to-setup-qt-creator-to-use-autodesk-fbx-sdk-as-a-library%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can there be differences between
fbxfiles? Or is it one uniform standard likeobj? If the latter, then Qt3D supports loadingfbxfiles out of the box. At least in my project I can open and viewfbxfiles without installing any SDKs.– Florian Blume
Nov 13 at 10:58
How do you access the skeleton and animate the mesh?
– karamazovbros
Nov 13 at 12:41
@FlorianBlume can you manipulate the mesh via it's skeleton in Qt3D with C++?
– karamazovbros
Nov 16 at 5:02
I think in order to obtain the skeleton you need load your 3D model using the
QSceneLoaderclass.This probably also creates the skeleton component. If so, you should be able to manipulate the skeleton.– Florian Blume
Nov 16 at 9:15
When I did try using the SceneLoader I was still unable to access the skeleton.
– karamazovbros
Nov 16 at 20:16