Strange glitch when animating from a closed wing pose

Greetings!

As I posted in my first thread in this community, I sculpted my first character, an owl, further rigged using Rigify.

Her character is split across different mesh-objects for wings (Owl_Wings, an unique piece comprising both sides of her wingspan), body (Owl_Body), each eye (Owl_Eye_L and Owl_Eye_R sharing the same Owl_Eye mesh) and each claw. Eyes and claws are attached to their respective bones as children of said bones, as they’re not meant to be deformed. Wings and body were set to Armature deform with automatic weights, some of which I fine tuned manually, especially for body (e.g. to reduce influence of her beak over her chest and neck).

Only her body and her eyes have Shape Keys, her wings have just the Armature Deform. Also, both her wings and her body have Hair Particle emitters (in fact it’s the exact same particle emitter set for both simultaneously), which comes after the Armature Deformer in the modifier chain.

Back when I started creating her form, I sculpted her wings in a default-open state, which is the default state for a Bird metarig. Fast-forwarding to present time, I got this manually posed pose in which she’s perched with her wings resting on her back like actual birds do (similar to what this thread’s OP was seeking to achieve and the solution presented thereby, but given I don’t afford paying for any “Blender Studio” subscriptions, I made my own). This meant extreme twisting of her humerus, ulna, carpal and metacarpal, as well as each phalange and feather bones. The final position, like in IRL bird’s perched position, involves some overlapping, especially for the feathers at the tips. The pose ended up not as perfect as I wanted it to be, but it has been doable for my scenic purposes.

So far she’s been doing great across the many scenes and animations I’ve already choreographed with her, except… and this is the point of this thread, there’s this strange glitch happens every time I go from this “perching” pose to another pose (including the “rest pose” inherited from the metarig) with open wings. (Screen capture video attached at the end of the post)

What’s even stranger is that, as soon as I change anything in Owl_Wings mesh, even doing no-ops like toggling Armature Deform visibility on and off (or changing the value for a Shape Key, even a Shape Key verbatim duplicated from Basis; however, value must be changed by hand, as attaching the Shape Key’s value property to a #frame driver doesn’t achieve the same effect), the glitch momentarily goes away, so it doesn’t seem to be a vertex weighting issue.

This affects primarily animation rendering batches, as this glitch propagates across frames. The animation I published required two different rendering batches and a makeshift solution involving a zeroth frame, to be set as the current frame while outside the animation range (e.g. 1 to 60). This is because, as I discovered through trial-and-error, if I initialize the project from a frame with open wings (be it the rest pose or any pose in which she’s sufficiently open wings with no overlapping involved), the subsequent frames going from closed to open wings won’t glitch, even if there’s the “perched” pose followed by opening of the wings afterwards.

There’s no loose geometry (and the problem wouldn’t go away if it were loose geometry), I tried doing lots of cleaning up for the wings (but the mesh seems to be pretty clean already), and this glitch continued happening when I go from this perched pose to open-wings pose. This glitch doesn’t seem to happen for her body, even when her beak and talons also involves overlapping.

As far as I’ve researched, it seems to have something to do with Blender’s internal dependency graph, a “dirty state” with overlapped vertices which only gets updated when there’s any signaling from the mesh. Does this proceed? Or, rather, it’s something to do with my sculpting despite the problem going away after no-op changes to the mesh?

So far it’s not exactly something that affects the production of my esoteric and artistic works, especially because I’ve discovered this “zeroth frame makeshift solution”, but I still wonder if something’s wrong with the way I sculpted or rigged her, given she’s my first manually-sculpted character and given it’s been mere three months since I’ve been thoroughly tinkering with Blender (so I’m still a novice despite having done quite “advanced” things already).

This is the video illustrating the glitch I’m trying to describe:


Thanks in advance!

That there looks like a damaged shape key.

Put the bones in their default pose (or whatever is appropriate for editing the mesh) and go through them in edit mode one by one and you will find whichever one it is (or whichever ones they are).

You will have to find an earlier version of your owl mesh where the shape key is not damaged and then position things correctly.

I actually wrote an add-on some time ago to deal with stuff like this: Join as Shapes by Topology To use it:

  • Split the correct shape out of the old mesh. Do this by deleting all shape keys except the correct one. Delete the “Basis” key last. You will now have a mesh in the position you wish to use with no shape keys. Save the file somewhere temporary.
  • Open the file with the problem mesh. Append the temporary owl object from the temporary file you just created. Drag it somewhere out of the way (so you can see both meshes at the same time).
  • Select the temporary object (with the correct shape).
  • Shift-select the current object (with the incorrect shape key).
  • Tab into edit mode.
  • Select three vertices of a single face on the temporary object.
  • Select the same three vertices of the same face in the same order on the object to fix.
  • In the Shape Key Specials menu (the little down-chevron under the plus and minus buttons) select Join as Shapes by Topology.
  • Rename the bad shape key to something temporary (like “delme”). Rename the new shape key to the correct name.
  • Copy and adjust any drivers you have from the old shape key to the new.
  • Delete the drivers on the old key! (Don’t forget this step! Blender won’t lose them and you’ll forever get messages about unbound drivers.)
  • Delete the old shape key.
  • Delete the temporary object.

Oh, IIRC, since the wings are sharing the same mesh you may have to click that little 2 on one of the wings to make each wing have its own copy. If you do then perform your shape key updates on the other wing (the one with the mesh data block name not ending in .001). When you are done, re-select the wing with the duplicated mesh and in the mesh data properties panel re-select the un-duplicated mesh from the dropdown. Then File > Clean Up > Perge Unused Data….

When you are done use File > Save As to save your changes. (That way you can get back anything you inadvertently damaged along the way.)

Shape keys are great, but oh so annoying.

Problem is, the wings have no shape keys at all.
Also, when I enter edit mode, even when “Display modifier in edit mode” and “Adjust edit cage to modifier result” are turned on, the glitch disappears as soon as I get to edit mode.

Also, I forgot mentioning initially: other poses with any overlapping (such as poses I got from interpolating/breakdowner between this problematic pose and other poses) will result in a similar (but not equal) glitch. It’s as if, upon transitioning from a state of overlapping vertices, these vertices end up “glued” until there’s any signaling for blender to update the computations, then it goes away.

The wings are a single piece, a single mesh I sculpted from an initial sphere:

Well, it seems I misread your topic. I thought I read that each wing was its own piece with some shape keys. IDK what error happened in my brain.

That said, entering edit mode displays the mesh as it really is. One of your modifiers is doing it. Disable each until you can identify the problem modifier?

Oh, no, sorry, my bad, that’s on me when I mentioned…

…and I forgot to specify: these shape keys were momentarily added in one of my several attempts at eliminating this glitch (therefore, the glitch was already happening before said shape keys) and these were just blank shape keys I added by clicking the “Add shape key” twice without proceeding with any changes to the underlying mesh. At the time, I saved a copy of the project with the blank shape keys, reloaded the copy, and then the glitch continued until I changed the value of the second shape key (which, again, does nothing as there were no changes to the mesh). Then I reverted to the earlier .blend iteration in which there ain’t shape keys for the wings in order for me to try other approaches.

But I did identify it, it’s the Armature deformer. The Owl_Wings mesh has two modifiers: Armature (attached to Owl_Armature which was generated from a Rigify’s Bird metarig and also controls other meshes pertaining the owl) and ParticleSystem (the fur imitating an owl’s plumage) which comes after the Armature deformer as it’s expected to be.

I tried to disable the ParticleSystem in one of my attempts, but the featherless owl still experiences the same glitch, and the only modifier left was the Armature deformer.

Turning off the Armature deformer stops the glitch because there’s nothing left to deform the vertices, but also stops the owl’s wings from being poseable.

It seems to be happening with poses involving overlapping bones, but especially this “perched bird” pose I came up with:

For comparison, her “rest pose” (which is the metarig’s default “open wings” pose) is:

(the glitch didn’t happen during the taking of these screenshots, going from “perched” (Pose mode) to “open wings” (Rest mode), but it does happen as soon as I reopen the project and do the exact same change of poses, even though nothing was changed except me toggling the visibility of the armature modifier off and on again, which seems to be signaling Blender to recompute things).

Edit to also emphasize: this is happening specifically with the Owl_Wings, which is the aforedepicted mesh comprising an unique piece for the owl’s wings, with no shape keys. The body and other meshes, all attached to the same armature (with the body having an Armature deformer just like the wings have) aren’t suffering the same glitch.

Alas, IDK what to suggest other than passing along a copy of your file so someone can look at it. I know that’s a hard sell, tho.

Update: for now it seems like I managed to solve the problem by doing some changes to the way I’m using the Particle System.

For some reason (my potato hardware? specific Blender version/lack of patches? both?), when the Particle System uses “interpolated” children and has a sheer count of particles, the fur covering the entire wing surface leads to glued vertices upon an animation/deformation starting from an overlapped position, and this continues happening even when the Particle System is hidden. When I changed it to “Simple” children, the glitch went away, even after a full reload. Due to how the “Owl_Wings” is a large piece encompassing the entire wingspan, “Simple” children led to an aesthetically inaccurate plumage, so I made further changes and I ended with an even better plumage while the glitch is gone (and my owl character seems to be even more performant, at least I’m experiencing higher FPS while playing my “Owl at cemetery” animation through the viewport without needing to wait for it to render).

tl;dr: I did the following, both for aesthetic and for performance purposes, maybe this helps if someone is reading this after experiencing a similar glitch:

  1. Change the particle system to “Simple” children and reduce both the particle count and the children count. On its own, step 1 already solves the glitch, but may lead to slightly, aesthetically different fur/plumage/hair.
  2. Create two vertex groups, one for each side/“hemisphere” of the wings/mesh. Preferably name it using .L and .R suffixes (e.g. Plumage_Wings.R and Plumage_Wings.L).
  3. Duplicate the particle system and set each vertex group to each particle system (i.e. one of the particle systems will have Plumage_Wings.L set to all its “Vertex Groups” properties (Length, Density, Kink, Clump, etc), the other will have Plumage_Wings.R).
  4. Change the Vertex Weights as needed for the newly-created vertex groups. If you used the suffix, enabled the “Mirror X” mode at “Vertex Weight Mode” and got a properly symmetrical mesh, any changes to one will automatically reflect on the other.

So far, that’s it. Hope this helps if someone in the future happens to experience a similar glitch. I must also thank @Duthomhas who tried to help me through DM, thank you very much @Duthomhas!

Hey, I’m glad you figured it out.

I haven’t touched it since we last DMed, but the particle system was high on my list of Things That Might Be Wrong™. You had so few particles on it I figured I’d have to bump things up to tax my hardware and mess with it.

In any case, I can delete the file now and am pleased you figured it out with a better solution!