Page 1 of 1

How to programmatically generate thousands of random models?

PostPosted: Tue Oct 31, 2017 7:24 pm
by falcon
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!

Re: How to programmatically generate thousands of random mod

PostPosted: Sun Nov 05, 2017 5:51 am
by RobBaer
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.

Re: How to programmatically generate thousands of random mod

PostPosted: Mon Sep 24, 2018 12:47 pm
by Shreyansh_Dubey
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."

Re: How to programmatically generate thousands of random mod

PostPosted: Sat Oct 06, 2018 1:19 am
by blindsaypatten
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.