Page 1 of 1

MH Mesh Asymmetry and Shape Keys

PostPosted: Mon Jan 06, 2020 1:26 pm
by bogdan666
Is it possible that MH Meshes are asymmetric, even when using the symmetry button? Whenever I make shape keys in blender the mirroring always fails for some vertices. (no difference between blender 2.8 or 2.79)
Even snap to symmetry doesn't help.
It happens with models without any MakeHuman targets applied as well. At least there is (at first glance) no visual difference between both body halves despite the "failed to mirror 1xx vertices" report. What can cause this and how to solve it? It doesn't look right if there is a difference of up to 100 vertices between the body halves for every shape key.

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Mon Jan 06, 2020 5:45 pm
by Aranuvir
That's one of the outstanding tasks for 1.2.0....

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Wed Jan 08, 2020 7:51 pm
by punkduck
I have had similar problems especially with proxies and wrote a blender plugin. Maybe you can also use this, The plugin is a beta-version but I work with it.

It is available for blender 2.79 and blender 2.80 (2.81 I did not test yet)

https://github.com/black-punkduck/MakeHuman-Helpers/tree/master/blender2_7

https://github.com/black-punkduck/MakeHuman-Helpers/tree/master/blender2_8

The software works with a so-called mirror-table. It can be used when you export with mhx2 or other tools which will not destroy the vertex order of the body.

In this first step a mirror-table must be created (e.g. by using the standard body) and must be saved (it is a simple text-file). This table should be assigned to an object (a valid character using same topology) later.

This table can be used then to:

  • to select mirrored vertices
  • create a fully symmetric mesh
  • mirror vertex groups ("weights")
  • mirror shape keys

it works also on a non-symmetric mesh which is useful when e.g. you want to use corrected weights from one side on the other one.

It was used to create weight-files for the MakeHuman skeleton (Bento-like) and is also able to import/export mhw files

I added a manual with illustrations:

https://github.com/black-punkduck/MakeHuman-Helpers/wiki/blender279weightplugin.md

My last blonde girl was created with a special own proxy and different weighting for bones and (blender-)shapekeys also. I did that with this tool. And also her cat :lol:

http://www.makehumancommunity.org/forum/download/file.php?id=7444&mode=view

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Fri Jan 10, 2020 12:55 pm
by bogdan666
For some reason I can't install this addon (it doesn't show up in the addons options), although I put the .py file into the right directory of blender (in addons, where all .py files are stored).

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Sat Jan 11, 2020 7:34 pm
by punkduck
bogdan666 wrote:For some reason I can't install this addon (it doesn't show up in the addons options), although I put the .py file into the right directory of blender (in addons, where all .py files are stored).


Hmm normally I have no problems with that. What OS are you using? I am working with Ubuntu Linux. In former times MacOS also. Both are quite identical. Elvaerwyn is using Windows. She had some problems afaik, but it was like there was sth cached from before. It was another tool (the new changed mhx2 importer) and it looked like that the old has been replaced. But in this case everything is new :shock:

I have called it "Weighting" unfortunately instead of helper because it was designed for that purpose in the beginning. Well you find it normally here;

weighting.png

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Sun Jan 12, 2020 7:42 am
by bogdan666
It works now.
I did mess up something with the download and it didn't download the code but instead some pseudo .py with html content.

But now I went directly into the file and downloaded the "raw" file and voila!
"You never learn out".

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Sat Jan 18, 2020 9:34 am
by punkduck
bogdan666 wrote:It works now.
I did mess up something with the download and it didn't download the code but instead some pseudo .py with html content.

But now I went directly into the file and downloaded the "raw" file and voila!
"You never learn out".


Ah okay. With that html (which is the presentation you need to display source code in your browser) you will of course get weird error messages :)

Re: MH Mesh Asymmetry and Shape Keys

PostPosted: Sun Feb 02, 2020 3:50 pm
by Jamie20
I have notices the same problem with some of the topologies you can download from assets.
I solved it by deselecting all boxes in Modeling/Random and then exporting mhx2 from Makehuman. It worked with no topology selected.
For the asymmetric topologies I wrote a little script that made them symmetric on the proxy file level.
After that I was able to export them in mhx2 format from Makehuman and make shape keys in Blender.