Base model and morphing with targets

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

Moderator: joepal

Base model and morphing with targets

Postby michael_polak » Mon Oct 17, 2016 9:26 pm

Hi all,
I see there is a base.obj file in the data/3dobjs folder but this object does not match the one I get if I just load the program and export the body as an .OBJ file. Can someone explain why is this so?
Thanks!
michael_polak
 
Posts: 5
Joined: Mon Oct 17, 2016 9:22 pm

Re: Base model and morphing with targets

Postby loki1950 » Tue Oct 18, 2016 4:16 am

The starting point does have quite a few morphs applied it's explained a bit more fully somewhere here on the forum as well a search should find it as your question has been asked before.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo Ideapad 320-15ABR Win 10/Mint 19
User avatar
loki1950
 
Posts: 1219
Joined: Thu Dec 18, 2014 6:27 pm
Location: Ottawa,Ontario

Re: Base model and morphing with targets

Postby joepal » Tue Oct 18, 2016 8:53 am

The start model has 33% caucasian, 33% african and 33% asian applied. This makes it look different than base.obj.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Re: Base model and morphing with targets

Postby michael_polak » Tue Oct 18, 2016 1:48 pm

Thanks for the info Joel.
michael_polak
 
Posts: 5
Joined: Mon Oct 17, 2016 9:22 pm

Re: Base model and morphing with targets

Postby michael_polak » Tue Oct 18, 2016 2:12 pm

michael_polak wrote:Thanks for the info Joel.


One more thing... can someone point me to a resource that describes how the morphing works? I think I understand it but I'd like to see some docs to make sure. If the base model is female with the 33% of each african, asian, and caucasian targets (asian-female-young.target for example) then when a separate target is applied it is simply the weighting [0,1] multiplied by the delta vectors for each point listed in the target added to the base model (that already has those other 3 targets applied). If that is not the case, please explain or point to the docs and I'll RTFM.

Thanks!
michael_polak
 
Posts: 5
Joined: Mon Oct 17, 2016 9:22 pm

Re: Base model and morphing with targets

Postby Aranuvir » Tue Oct 18, 2016 2:43 pm

Aranuvir
 
Posts: 1317
Joined: Sun Oct 12, 2014 2:12 pm

Re: Base model and morphing with targets

Postby michael_polak » Tue Oct 18, 2016 7:55 pm

Aranuvir wrote:Maybe this video helps: https://www.youtube.com/watch?v=X13k7H3dNHo


That's the video I watched to get the understanding that I currently have about how targets work. If they are not any more complicated then what I described, that is great.
michael_polak
 
Posts: 5
Joined: Mon Oct 17, 2016 9:22 pm

Re: Base model and morphing with targets

Postby joepal » Wed Oct 19, 2016 12:15 pm

michael_polak wrote:That's the video I watched to get the understanding that I currently have about how targets work. If they are not any more complicated then what I described, that is great.


This is basically it. Nothing more magical is happening outside this.

If two targets influence the same vertex in the same direction, the vertex will move the combined distance. If the targets move the vertex in opposite directions, the movement will be canceled out.

To see what targets have been applied, you can use the scripting plugin and run printDetailStack(). On a default model, it will give this output:

Code: Select all
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/caucasian-male-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/african-male-young.target
0.5     /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/universal-male-young-averagemuscle-averageweight.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/caucasian-female-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/asian-female-young.target
0.5     /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/universal-female-young-averagemuscle-averageweight.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/asian-male-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/african-female-young.target


So as you can see you have both male and female versions of the ethnicity and average weight targets applied from start. Basically in combination 33% of each ethnicity and 100% of average weight.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Re: Base model and morphing with targets

Postby michael_polak » Wed Oct 19, 2016 2:10 pm

joepal wrote:
michael_polak wrote:That's the video I watched to get the understanding that I currently have about how targets work. If they are not any more complicated then what I described, that is great.


This is basically it. Nothing more magical is happening outside this.

If two targets influence the same vertex in the same direction, the vertex will move the combined distance. If the targets move the vertex in opposite directions, the movement will be canceled out.

To see what targets have been applied, you can use the scripting plugin and run printDetailStack(). On a default model, it will give this output:

Code: Select all
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/caucasian-male-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/african-male-young.target
0.5     /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/universal-male-young-averagemuscle-averageweight.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/caucasian-female-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/asian-female-young.target
0.5     /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/universal-female-young-averagemuscle-averageweight.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/asian-male-young.target
0.166666666667  /datacollection/source/makehuman/makehuman_with_assets/makehuman/data/targets/macrodetails/african-female-young.target


So as you can see you have both male and female versions of the ethnicity and average weight targets applied from start. Basically in combination 33% of each ethnicity and 100% of average weight.


That logging is useful. Thanks for the listing and the explanation.
michael_polak
 
Posts: 5
Joined: Mon Oct 17, 2016 9:22 pm


Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest