Mass produce

Works in progress and technical screen shots.

Moderator: joepal

Mass produce

Postby joepal » Thu Jan 10, 2019 3:19 pm

Having grown very annoyed with the OpenGL refactoring, I've taken a break and worked on what I hope will be a rather desired feature: a mass randomization plugin

massproduce.png


The idea is to automate the whole modeling process, including saving/exporting models. It currently supports randomizing most macro modifiers and picking a relevant skin based on this, for example a skin named "... causasian female" if the gender was set to female and ethnicity to caucasian. Further, it so far supports saving MHM files, but not yet any actual export formats.

The source is available here: https://github.com/makehumancommunity/c ... assproduce. You'll need a MHAPI from today to run it.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3386
Joined: Wed Jun 04, 2008 11:20 am

Re: Mass produce

Postby wolgade » Fri Jan 11, 2019 11:16 am

Interesting idea, but it might be not so easy to set the sliders without any kind of visual feedback. Let me propose a way that might be more convenient: Instead of setting minimum and maximum values manually, the user provides two .mhm-files e.g. minimum.mhm and maximum.mhm to set the values.
wolgade
 
Posts: 768
Joined: Wed Jan 30, 2013 6:50 pm

Re: Mass produce

Postby joepal » Fri Jan 11, 2019 11:21 am

Wouldn't that mean a lot of MHM files? I mean, a toon with max-muscle / min-height / min-weight will look rather different than a toon with min-muscle / max-height / max-weight. I mean there's no guarrantee you'll end up at max muscle and max weight just because you're at max height.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3386
Joined: Wed Jun 04, 2008 11:20 am

Re: Mass produce

Postby wolgade » Fri Jan 11, 2019 11:37 am

Of course, my approach will end up with characters that are interpolated between these two given files. I probably didn't get you right, but what is the difference between setting min_value and max_value manually or simply reading these values from two files?
wolgade
 
Posts: 768
Joined: Wed Jan 30, 2013 6:50 pm

Re: Mass produce

Postby joepal » Fri Jan 11, 2019 12:06 pm

wolgade wrote:Of course, my approach will end up with characters that are interpolated between these two given files. I probably didn't get you right, but what is the difference between setting min_value and max_value manually or simply reading these values from two files?


I think possibly we're talking about two different types of randomization. Note that the point here isn't to generate characters interpolated on a span between two possible extremes. The idea is to generate a large set of characters with the slider values distributed separately and randomly between their individual allowed max and mean values. In the current approach, the value of the theoretical slider A wouldn't have any relation to the value of theoretical slider B. Whereas if we interpolate between two possible extremes, A and B would have a strong correlation.

If we wanted to interpolate between two possible extremes, I could see the value of a visual feeback. But with each slider randomized separately, I don't see the point.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3386
Joined: Wed Jun 04, 2008 11:20 am

Re: Mass produce

Postby wolgade » Fri Jan 11, 2019 2:56 pm

joepal wrote:I think possibly we're talking about two different types of randomization.

No, we don't.
joepal wrote:If we wanted to interpolate between two possible extremes, I could see the value of a visual feeback. But with each slider randomized separately, I don't see the point.

This might be true. I just thought it might be more convenient, but probably it's useless. The generated characters will look very different from those defined in two mhm-files. Well, it was just an idea.
wolgade
 
Posts: 768
Joined: Wed Jan 30, 2013 6:50 pm

Re: Mass produce

Postby joepal » Mon Feb 11, 2019 10:14 am

I've finished a first draft of the mass produce plugin now, and posted a demo video: https://youtu.be/jRHnJX-TdT4
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3386
Joined: Wed Jun 04, 2008 11:20 am


Return to WIP (Work In Progress)

Who is online

Users browsing this forum: No registered users and 1 guest