Envelope Request (Easily Implemented, AFAIK)
Moderators: jesterKing, stiv
Envelope Request (Easily Implemented, AFAIK)
While I was using some of the current test builds I have noticed that if I mess up on my Envelopes/Vertex Weight groups, and have to change the envelopes of the armatures, that increasing the envelope size (on, lets say, a finger) so that the entire finger is in the envelope. Some of the envelope may be surrounding a few verteces of another part of the mesh (like another finger) so that if you set the armature to use just the envelopes (as your vertex groups are wrong for whatever reason) that particular bone moves those other vertecies of the other finger, which is not what is wanted.
My proposition is that you allow an option so that the envelope stops effecting vertecies when it goes beyond the mesh (like when the envelope reaches beyond the finger, into the void). I think this would be a cool addition to Blender, and easy to implement. If any developer would be willing to give a whack at this, I'd be much obliged.
Again, I want to stress that this CAN be an option for particular bones (like a button that says "Affect only Connected" or something similar) and if this doesn't make sence, I can get pictures to help show what I mean...
Hold on Tight,
Ongnissim
My proposition is that you allow an option so that the envelope stops effecting vertecies when it goes beyond the mesh (like when the envelope reaches beyond the finger, into the void). I think this would be a cool addition to Blender, and easy to implement. If any developer would be willing to give a whack at this, I'd be much obliged.
Again, I want to stress that this CAN be an option for particular bones (like a button that says "Affect only Connected" or something similar) and if this doesn't make sence, I can get pictures to help show what I mean...
Hold on Tight,
Ongnissim
Re: Envelope Request (Easily Implemented, AFAIK)
At first it seemed like a good idea and then I thought: Connected to what?Ongnissim wrote:Again, I want to stress that this CAN be an option for particular bones (like a button that says "Affect only Connected" or something similar) and if this doesn't make sence, I can get pictures to help show what I mean...
Connected PET works because there's a starting point to test connection (the selection). I don't see how that would work for bones in a boundary volume.
Unless you start doing full solid volume testing I mean (determining what's inside / outside).
Martin
Life is what happens to you when you're busy making other plans.
- John Lennon
- John Lennon
Re: Envelope Request (Easily Implemented, AFAIK)
I'm sorry, I didn't word that correctlytheeth wrote: At first it seemed like a good idea and then I thought: Connected to what?
Connected PET works because there's a starting point to test connection (the selection). I don't see how that would work for bones in a boundary volume.

What I meant was points connected to that part of the mesh:
Assume you have this:

I think that in order to stop this from happening:

The envelope should perhaps have an option to stop effecting verteces once it gets beyond points connected to that area, into a void, as shown here:

I hope that helps explain what I meant above. Is this possible, or will I just have to become better at rigging


I really would like to see this implemented, as this bulge thing gets on my nerves a little. Thanks for your help!
Hold on Tight,
Ongnissim
EDIT: BTW, I hope doing this was not what you meant by "Solid Volume Testing", as it might could be done by checking if verts within the bounds of the bone were connected to each other, though I might be wrong, as I have never looked at the Blender code (Though I want to, eventually)
Re: Envelope Request (Easily Implemented, AFAIK)
This is exactly what I meant by volume testing.Ongnissim wrote:EDIT: BTW, I hope doing this was not what you meant by "Solid Volume Testing"

Yeah, that might work.joeri wrote:Maybe the envelope should effect only verteces that can "reach", following edges within the envelope, the vertex with the shortest distance to the bone.
Then again, I thought enveloppes were made as a quick method to generate passable weight paint which could then be tweaked further.
Martin
Life is what happens to you when you're busy making other plans.
- John Lennon
- John Lennon
Re: Envelope Request (Easily Implemented, AFAIK)
That's what I was afraid of...theeth wrote:This is exactly what I meant by volume testing.Ongnissim wrote:EDIT: BTW, I hope doing this was not what you meant by "Solid Volume Testing"![]()
Is this probable? I can see how it would be an interesting addition, and if it causes a major slowdown (since you'd calculate more [I'm assuming again]) that would be okay, especially if it was only activated by a button in the Armature Settings.
I also forgot to mention that this is not just something to prevent noobs from making errors (which it is) but also something so that if that part of the armature is weird shaped (as in my example, the finger is tall, so the envelope has to be larger to enclose it all) the user would have to spend less time doing manual Weight-Painting work, and more *trying not to use the word manual here

Hold on Tight,
Ongnissim
Another solution might be using face normals. Just including all the faces that point aways from the bone.
This might not work in all the cases though, but those cases are probably marginal.
Biggest limitation is that it would depend on sane face normals.
Martin
This might not work in all the cases though, but those cases are probably marginal.
Biggest limitation is that it would depend on sane face normals.
Martin
Life is what happens to you when you're busy making other plans.
- John Lennon
- John Lennon
Yeah, I was thinking that too but like LetterRip said, a way to turn it off would be needed, preferrably for each bone. I'm not sure how well it would work for things like fingernails though.theeth wrote:Another solution might be using face normals. Just including all the faces that point aways from the bone.
This might not work in all the cases though, but those cases are probably marginal.
Biggest limitation is that it would depend on sane face normals.
Martin
I never even knew that's what envelopes were for. Bone envelopes is exactly what I was imagining for automatic rigging, except I pictured a script that would iterate through all the bones and set vertex groups based on a cylindrical shape or whatever shape envelopes use (it would be nice to be able to scale envelopes in any axis btw) and then you could adjust the groups as you saw fit. That way you get a quick rig but you can manually fix where it goes wrong. You can also add on solid volume checking to make the automatic rig more accurate.
By baking the rig into the vertex groups, you are not doing any real-time checking for volumes, point positions or normals. This would be a big time saver if Blender decides to mess up the vertex groups when you join two meshes together.