We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Shape Key Animation Error/bug

Home Forums General Questions Shape Key Animation Error/bug

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #52590
    fred7
    Customer

    Hello,
    I got some errors when playing a keyframed shape key animation.

    Edit: I looked further into it. It seems that when the animation is triggered it will play the correct key 1 which I keyframed, but also tries to play an animation for key2 where there are no keyframes defined. It just uses the same duration from key1 to morph key2 from 1 to 0, which is the animation of key1 but with some keyframes and specific values in between. So how do I tell Verge3D, to only play the keyframed shape key? And why it even tries to play an animation, when there is none?

    Also tried with Verge3D 4 Pre4

    When I first set it up, everything was fine. I defined the shape key for the length of the plane and animated it with key frames:
    Please see: working animation

    Then I added another shape key to control the width by setting the morph factor. Then things went wrong. First of all the plane is flittering during the animation like hell. But in the next video attached, it was not possible to record the flickering, neither was it when I tried to film it with my phone. So I guess something with the framerate/playback is wrong. I switched through different framerate settings in Blender (24,25, 29.97, 30, 60) but that didn’t do the trick. – Edit: Should be fixed when the problem with the animation of the wrong shape key is solved.

    Next big problem is, that the animation doesn’t take the current value for the width shape key in account. While I think during the animation you can see the min and max value of the width flickering, at the end of the animation it is set randomly to either the min or the max width, but not the correct set morph factor.
    In the video you can see the cube in the background, which is always the width the plane should be.
    Please see: Shape Key Animation Error

    I am on Blender 3.0.1 and Verge 3.9.1

    Thanks!

    • This topic was modified 7 months, 4 weeks ago by fred7.
    • This topic was modified 7 months, 4 weeks ago by fred7.
    • This topic was modified 7 months, 4 weeks ago by fred7.
    • This topic was modified 7 months, 4 weeks ago by fred7.
    #52604

    share the blend file we will look at.

    Co-founder and lead graphics specialist at Soft8Soft.

    #52606
    fred7
    Customer

    Hello Mikhail,
    Thank you for the reply. I just sent the file to you via email.

    #52635

    This is some kind of limitation: you need to set a keys for all shapekeys to see them animated correctly. I mean: if you have (for example) three shapekeys and only first animated you need to animate first shapekeys as you want and other set keys by zero value at first frame. This mean that you can’t keep you object animated and changing shapekeys by puzzles simultaneously. To achieve what you want you can use Animate Param puzzles instead of animation. So if you plan only to animated your shapekeys just set keys for all shapekeys, otherwise use puzzles to manipulate shapekeys.

    Co-founder and lead graphics specialist at Soft8Soft.

    #52638
    fred7
    Customer

    Thank you for looking into this. That’s unfortunate, I can’t set keyframes for the second shapekey as then my parametric model will be reset on the event of animation triggered.

    Or is there a way to change the value of an keyframe within Verge3D? Then I can set up keyframes for shapekey 2, on first and last frame in Blender and when the animation is triggered, Verge3D gets the current value of the shapekey 2 and set this value for those 2 keyframes before starting the animation. That would be a good workaround if possible.

    With the the Animate Param puzzle I am not sure how to do it in an efficient way, as for my 60 frames animation it is not just 0 to 1 but with specific values every 5 frames because the movement is not linear. And will have to do dozens of that animations.

    Thanks in advance!

    #52647

    If you use keyframes animation with shapekeys you can’t set shapekeys wih puzzles while animation is playing it will always reset it to keyframes. the only way is to use Animate param puzzle.

    Co-founder and lead graphics specialist at Soft8Soft.

    #52796
    fred7
    Customer

    So this is a Verge3D limitation and should be doable in general with three.js?

    #54135
    fred7
    Customer

    And will it be possible in a future release of Verge3D? Any plans?

    #58850
    fred7
    Customer

    @pigeon

    Is there any update/news on this one?

    #58859

    Hi, unfortunately this feature is not so easy support, but we’ll keep this in mind. :scratch:

    Verge3D’s Tech Chief
    FB | Twitter | VK

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.