Documentation:TargetsV2

From MakeHuman Community Wiki
Jump to: navigation, search

Before using the program

MakeTarget Version 2 is created to work with Blender 2.83 LTS or newer. It is used to create custom targets for the body. A target (also called a morph or morphing) a change of the 3d shape. It is used to create morphes or target for the MakeHuman basemesh. This Blender plug-in can also be used to correct existing MakeHuman targets.

More exactly, a target in MakeHuman is a table of changed vertices. It is an ASCII file containing 3 values that describe how each vertex should be moved. Target files are obviously derived from Blender shape keys. Thus, the workflow includes the creation of a new shape key in Blender as well. There is a difference between Blender shape keys and MakeHuman targets in that Blender internally creates a copy of the complete mesh, even when you only change one vertex; whereas, a MakeHuman target only contains the changed vertices.

Before a new target is created, the following questions should be answered:

  • Is the target designed to only change parts of the body like ears or lips that are not covered by clothes and where bones will not be stretched or relocated?
  If this is the case, it is sufficient to work only with the body mesh.
  • Is the target designed to also change parts covered by clothes and bones?
  In this case, the body + helper mesh must be used
  • Which mesh should be most likely used?
  You should decide between male or female mesh or the standard mesh used in MakeHuman, when started.

Load the mesh

Best way is to load a human mesh using MPFB (MakeHuman Plugin for Blender). It has some presets which have to be used if you work with MakeTarget and it has a special help to work with the helper. You need to have MakeHuman in parallel using the socket connector (see image below).

In Blender, set MPFB "Settings" to "MakeTarget" and load settings. After that import the mesh.

MTG LoadMesh.png


To switch on the helper a modifier is added, just press the marked symbol and the helper will appear or disappear.


MTG ToggleHelper.png


If you don't use MPFB, you can also load a human mesh with Makeclothes2. This will not include the toggle for the helper.

There are a few additional methods, you can load it via mhx2 .. but be careful the scale must be the same otherwise your target will either use 1/10 of the movement or 10 times as much later in MakeHuman (mhx2 export: use decimeter). So easiest way is either to use MPFB or MakeClothes


Create a new target

As an example a target named lower-eyesbrows (should look a bit like an early human) should be created. It does not involve clothes and also no bones are changed. So in this case a mesh without helpers would be sufficient.

The name lower-eyebrows is used to create the target. The result are two shape keys. An initial one "Basis" and the shape key which has to be changed.


MTG CreateTarget.png


Now the mesh is changed (make sure lower-eyebrows is selected in shape keys) so that the eyebrows are lowered. Best is to use proportional edit for your work. Be aware not to influence the eyelash region, otherwise the helper mesh must be changed for the eyelashes also.

Lets only change one eyebrow like in the picture.

The other side will be created by mirroring the target, here "copy +x to -x" is used. The copy command symmetrizes left and right side. A vertex in the middle will be set to x=0, so the mesh will stay totally symmetrical.


MTG SymmetrizeTarget.png

Hint: symmetrizing is done with a table, so it will not fail as long as the table matches the mesh you load.


Save the target

The last step is to save the target. Search for your target path of MakeHuman (custom targets). You can create a sub-folder if you work with a lot of own targets, like in the picture.

In MakeHuman these folders must be scanned again. So press the rescan-button. Then a subfolder will be detected and the target is ready to use.


MTG SaveTarget.png


Load a target

You can reload this target into MakeTarget2. As an example it is also easy to load a target made by someone else and change it or to load the official targets (only available on GitHub, the targets of the distribution are compressed). Especially if the helper was not changed, something that is sometimes neglected: load the mesh with helper, load the target, do the corrections and save it again.


MTG LoadTarget.png