Paint smooth weights tool in Maya using the weights of neighbouring vertices. This tool is part of the rjSkinningTools.
Copy the rjSkinningTools folder to your Maya scripts directory:
Select a skinned object and run the following code:
The paint tool calls a script that find the surrounding vertices and its skin weights. These skin weights are then blended with the skin weights of the original vertex based value of the paint tool.
- Undo-able / Redo-able
Based on the settings on the skinCluster the following attribute will be respected while smoothing the weights:
- Max Influences
- Normalize Weights
- Locked Influences
I would like to note that the idea for this script came from Tom Ferstl he developed a script where the end results is very simular. I did use the original script as an inspiration, but what happens under the hood is completely different.