Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jan 2014
    Location
    France
    Posts
    11

    Mirror Vertex Groups

    I don't know about you but I always have problems with the "Mirror Vertex Group" and "Mirror Vertex Group (topology)" tools. In fact, I never understood how they're working.

    So I write this little script to copy the vertex group from one side to the other. It's not very complex and not very great but it works.

    You can download it from https://github.com/LWH-21/blender-mirror-add-on Documentation is included.

    Please let me know if you find bugs or have suggestions for enhancements.



  2. #2
    Member
    Join Date
    Jun 2011
    Location
    7
    Posts
    35
    Finally normal mirroring)
    Works fine for me.
    Is it possible to make it quicker?



  3. #3
    Member
    Join Date
    Jan 2014
    Location
    France
    Posts
    11
    Well, it's true that the speed was not my main preoccupation ... But I promise, I'll optimize the script.



  4. #4
    Member Hammers's Avatar
    Join Date
    Aug 2007
    Location
    Queensland, Australia
    Posts
    657
    I'm definitely trying this addon, thanks for your work.

    FWIW I think I found an issue with the built in Mirror Vertex Group, which certainly caused me some difficulty. The steps listed in the wiki don't work (or didn't for me..).

    Here's what the wiki says:
    Mirror to opposite bone
    If you want to create a mirrored weight group for the opposite bone (of a symmetric character), then you can do this:
    • Delete the target Vertex Group (where the mirrored weights will be placed)
    • Create a copy of the source bone Vertex Group (the group containing the weights which you want to copy)
    • Rename the new Vertex Group to the name of the target Vertex Group (the group you deleted above)
    • Select the Target Vertex Group and call the Mirror tool (use only the Mirror weights option and optionally Topology Mirror if your mesh is not symmetric)
    This gave me all sorts of weirdness, but when I tried swapping the third and fourth steps above, it behaved as expected.

    Anyway looking forward to trying this new option. Cheers.
    My animated music video for the Marphoi Project: King of Majesty
    Bullet-based physics marble machine animation: Sisyphus Engine No.1
    My latest showreel



  5. #5
    Member yii7's Avatar
    Join Date
    Sep 2012
    Location
    Turkey
    Posts
    719
    Good luck with your addon.

    I just wanted to clarify how the native Blender mirror weights works. If you have a symmetrical model and weight painted on 1 side (left or right). You need to use "Vertex Selection Masking" button on the 3dview header. Press that button and select the empty side (the vertices you want to copy to). So for example you have painted right side , press vertex mask button and select the left side of the model (you can see vertices are highlighted in yellow). Now go to vertex group menu and press down arrow and choose Mirror Vertex Groups. There you will see in view port that right side is copied to the left side.

    Now there is also a "Face Selection Masking" button, it doesn't do the same thing. If you choose faces instead of vertices and use "Mirror Vertex Groups" Blender will swap the weights to the selected faces...

    So keep in mind vertex selection mode mirror copies; while face selection mode mirror swaps the vertex group... Hope this helps someone.


    Read Selection Masking on this page > http://wiki.blender.org/index.php/Do...s/Weight_Paint

    Cheers
    yiit.deviantart.com



  6. #6
    Member Hammers's Avatar
    Join Date
    Aug 2007
    Location
    Queensland, Australia
    Posts
    657
    Unfortunately I didn't have success with my attempt at using this addon on a biped rig just now. All of the created vertex groups turned out somewhat weird.

    The model is mostly symmetrical and certainly in topology (except for his face). Let me know LWH if you want my blend to play with. Cheers!

    From this:

    Screen Shot 2015-05-02 at 12.20.55 pm.png
    To this (etc.):
    Screen Shot 2015-05-02 at 12.21.11 pm.png
    Last edited by Hammers; 01-May-15 at 21:33.
    My animated music video for the Marphoi Project: King of Majesty
    Bullet-based physics marble machine animation: Sisyphus Engine No.1
    My latest showreel



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •