Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to create morphing animation?
Forum Updated to NodeBB v4.3 + New Features

How to create morphing animation?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 290 Views
  • 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.
  • O Offline
    O Offline
    Oleg H.
    wrote on last edited by Oleg H.
    #1

    Hi. I am trying to create morphing animation using this tutorial. I create a test model in blender 2.93.3 with a shape key Снимок экрана от 2021-08-23 14-56-54.png
    Then save it to gltf (export settings on screen in gltf file animation work.).
    Снимок экрана от 2021-08-23 15-22-16.png
    And balsam to extract the mesh. After that I open Qt Creator 6.1.2 example "Qt Quick 3D - Morphing Example" and change the path to my mesh

    //! [morphtargets]
            MorphTarget {
                id: morphtarget0
                weight: 1
                attributes: MorphTarget.Position | MorphTarget.Normal
            }
    //! [morphtargets]
    
    //! [model]
            Model {
                source: "file:/home/work/3D/Othets/meshes/cube.mesh"
                morphTargets: [
                    morphtarget0
                ]
    

    After which I launch the project but the animation does not work.
    26790ad2-36b8-4849-8a56-0cc902c3e391-image.png
    What is the problem?

    EndrII 0E 1 Reply Last reply
    1
    • O Oleg H.

      Hi. I am trying to create morphing animation using this tutorial. I create a test model in blender 2.93.3 with a shape key Снимок экрана от 2021-08-23 14-56-54.png
      Then save it to gltf (export settings on screen in gltf file animation work.).
      Снимок экрана от 2021-08-23 15-22-16.png
      And balsam to extract the mesh. After that I open Qt Creator 6.1.2 example "Qt Quick 3D - Morphing Example" and change the path to my mesh

      //! [morphtargets]
              MorphTarget {
                  id: morphtarget0
                  weight: 1
                  attributes: MorphTarget.Position | MorphTarget.Normal
              }
      //! [morphtargets]
      
      //! [model]
              Model {
                  source: "file:/home/work/3D/Othets/meshes/cube.mesh"
                  morphTargets: [
                      morphtarget0
                  ]
      

      After which I launch the project but the animation does not work.
      26790ad2-36b8-4849-8a56-0cc902c3e391-image.png
      What is the problem?

      EndrII 0E Offline
      EndrII 0E Offline
      EndrII 0
      wrote on last edited by
      #2

      @Oleg-H Some issue

      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