Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QML SkeletonLoader glTF Support #9

Open
dakesse opened this issue Feb 11, 2021 · 0 comments
Open

QML SkeletonLoader glTF Support #9

dakesse opened this issue Feb 11, 2021 · 0 comments

Comments

@dakesse
Copy link

dakesse commented Feb 11, 2021

I am orientating on your animated-skinned-mesh example to load a rigged glTF file via the qml SkeletonLoader in Qt 5.15.

Armature {
    skeleton: SkeletonLoader {
        id: skeleton
        source: ""
    ...

What do I have to pay attention to with the source file used?

Neither glTF version 1.0 nor 2.0 models from the glTF github page or even self-exported files from blender are working.
For version 1.0 a message is prompted that it is not supported:

[Warning] [Qt][default][2] :0 :: Unsupported version of glTF "1.0"

For version 2.0 a whole bunch of these error messages appear:

[Warning] [Qt][default][2] :0 :: QIODevice::read (QFile, ":\meshes\_very long cryptic path_\...KAGAAYgAIAGEAYwAGAGIAZAAEAGMAZQACAGQARgBAAGUA"): device not open
[Warning] [Qt][Qt3D.Renderer.Jobs][2] :0 :: Unknown buffer 0 when processing buffer view
[Warning] [Qt][Qt3D.Renderer.Jobs][2] :0 :: Unknown buffer 0 when processing buffer view
[Warning] [Qt][Qt3D.Renderer.Jobs][2] :0 :: Unknown buffer 0 when processing buffer view
...

Loading the same models via qml Mesh or SceneLoader is also not working.

Any advice what is going wrong?
I also cannot find any glTF files in your examples. Would it possible to add one where you know it is working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant