Baking targets into models

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Baking targets into models

Postby Ricardo2020 » Wed Sep 29, 2021 6:02 pm

Here is a head scratcher for the community.

I have made a lot of models with MakeHuman 1.1.1 and 1.2.0. Hundreds of them, to be precise. Each of the two MH versions runs on its own machine. In the workings with the software and hardware, I have used many assets to create the models, accumulating almost all the community files. This has brought forth the need to create sub folders so that these assets are easier to find and use.

One of my recent efforts in this regard was classifying my rather huge collection of targets. After placing them into a directory structure which works for me, all the models made using the previous system have lost their shapes, defaulting to base models when loaded.

And so, my question is this. How does one create a model in MakeHuman which retains the shape made by custom targets, even when it is opened on a machine which lacks these targets? In other words, how does one go about baking the shape made by the targets into the model within MakeHuman?

Is it necessary to take the model into Blender and do a set of proxy/topology/object/mesh warps and bone moves to arrive at a model which retains its shape when loaded into MakeHuman? It would be nice if the work flow stayed within MakeHuman, since most folks are going to make their models there.

Many thanks to all who take this to ponder and arrive at a solution.
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 53
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee

Re: Baking targets into models

Postby woodcat » Wed Sep 29, 2021 7:39 pm

Ricardo2020 wrote:How does one create a model in MakeHuman which retains the shape made by custom targets, even when it is opened on a machine which lacks these targets? In other words, how does one go about baking the shape made by the targets into the model within MakeHuman?

These are slightly different issues. Opening it on the machine is one thing, but baking it is somewhat different.

For the first question, in theory, there is a solution. The program creates a list of assets used in the model when saving the file. When you open the file, the list is checked against the installed assets. If there is a match, the file is silently opened. In case of mismatch, options are offered:
  1. open the file with replacement by i). the standard or ii). manually specified assets;
  2. install the missing assets from i). the local place or ii). download them from the website.
Curiosity killed the cat, but satisfaction brought it back.
User avatar
woodcat
 
Posts: 55
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow

Re: Baking targets into models

Postby joepal » Thu Sep 30, 2021 11:01 am

Ricardo2020 wrote:And so, my question is this. How does one create a model in MakeHuman which retains the shape made by custom targets, even when it is opened on a machine which lacks these targets? In other words, how does one go about baking the shape made by the targets into the model within MakeHuman?


You can't save a model in such a way that it is openable in MakeHuman if the target files are missing. If you open a model file (a file with extension MHM) you can see that it is simply a list of which targets have been applied and which clothes are equipped.

You can, however, bake all applied targets into one with the "save target" functionality. See the utilities -> save target tab for this. This way, you could distribute the MHM file + one combined target to a target machine and get a model with the same shape.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4103
Joined: Wed Jun 04, 2008 11:20 am

Re: Baking targets into models

Postby Ricardo2020 » Thu Sep 30, 2021 3:55 pm

In v1.1.1 there is no such tab which I can see in Utilities. Was this implemented in v1.2.0?
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 53
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee

Re: Baking targets into models

Postby woodcat » Thu Sep 30, 2021 10:51 pm

Ricardo2020 wrote:Was this implemented in v1.2.0?
MH 1.2 has this tab.
Curiosity killed the cat, but satisfaction brought it back.
User avatar
woodcat
 
Posts: 55
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow

Re: Baking targets into models

Postby Ricardo2020 » Fri Oct 01, 2021 2:26 pm

Many thanks to those who have these answers to share.

Since I can only do this in 1.2.0, I guess it is finally time to retire 1.1.1 and recreate all my models in the newer version so the targets for body shaping can be combined into one for each model.

This has been a hold back for my model publishing since I have had no way to share these models on the Assets pages with the body shape intact. Once I get upgraded and moved over to the newer version, I shall be publishing my models.
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 53
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee


Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest