How to programmatically generate thousands of random models?

If you have problems understanding something or getting started, ask here

Moderator: joepal

How to programmatically generate thousands of random models?

Postby falcon » Tue Oct 31, 2017 7:24 pm

Hi All,
I'm a programmer but have never done any 3D modeling or used any tools like Blender or MakeHuman.
I need to generate tens of thousands of random human models, varying in height, weight, gender, ethnicity, clothing and pose.
For the life of me I can't find examples of doing this via an API.

Does any one have any pointers to simple examples or even pointers to books or youtube videos?

Once I'm able to generate these models, I would like to do other things like find the location of various joints, perhaps joint angles, possibly render them, etc. All of this has to be done via an API.

MakeHuman looks almost perfect for what I need, except I need to control it in 'batch' mode rather than in 'interactive' mode.

Please help!
falcon
 
Posts: 1
Joined: Tue Oct 31, 2017 7:16 pm

Re: How to programmatically generate thousands of random mod

Postby RobBaer » Sun Nov 05, 2017 5:51 am

I don't think there is very good documentation, but take a look at the utilities scripting menu and the utilities execute and utilities shell tabs. With a little work you might get to where you need.

Rick Murphey's tutorials might help.
https://www.youtube.com/watch?v=57wREoOnEHw
https://www.youtube.com/watch?v=0IF2grxbjGo

Good luck.
User avatar
RobBaer
 
Posts: 907
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: How to programmatically generate thousands of random mod

Postby Shreyansh_Dubey » Mon Sep 24, 2018 12:47 pm

falcon wrote:Hi All,
I'm a programmer but have never done any 3D modeling or used any tools like Blender or MakeHuman.
I need to generate tens of thousands of random human models, varying in height, weight, gender, ethnicity, clothing and pose.
For the life of me I can't find examples of doing this via an API.

Does any one have any pointers to simple examples or even pointers to books or youtube videos?

Once I'm able to generate these models, I would like to do other things like find the location of various joints, perhaps joint angles, possibly render them, etc. All of this has to be done via an API.

MakeHuman looks almost perfect for what I need, except I need to control it in 'batch' mode rather than in 'interactive' mode.

Please help!

"Hello sir I am also stuck in a similar situation, I have to also create a dataset of makehuman models, if you were able to do it can you help me out.. Thanks in advance."
Shreyansh_Dubey
 
Posts: 9
Joined: Sun Sep 16, 2018 10:09 am

Re: How to programmatically generate thousands of random mod

Postby blindsaypatten » Sat Oct 06, 2018 1:19 am

Depending on your needs I wonder if it would be easier to just make use of the makehuman model files, it would be straight forward to write a script to generate random models in the form of .mhm files, you could then use MakeHuman to read the files and create the 3D models. The advantage would be that you don't need to know much at all about MakeHuman and it's code and APIs, you are just generating simple text files. Whether this makes sense as an approach depends on what other programs you are interfacing with and how.
blindsaypatten
 
Posts: 586
Joined: Tue Mar 14, 2017 11:16 pm


Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest