by gaiha » Tue Mar 15, 2016 4:23 pm
ok... I've been trying to wrap my head around this and so far I keep hitting a dead end. What I want to do for my Character creation module is:
1) Have MakeHuman create a rigged model from an external set of variables. ie; From a series of Buttons from a list of selections.
2) Once the rigged model is created, it will go thru a "Transformation Process" that will add a set of animations in addition to clothing targets. The clothing targets are pre-defined for "Sizing" based upon the model generated.
3) Once completed, MakeHuman shuts down... it's job is done. The rigged model is now ready for use.
My Variables Set:
// Types
var Male T1 )Two Variables
var Female T2 )
// Races
var African R1 )Three Variables
var Asian R2 )
var Caucasian R3 )
// Model Sizes
var Size Very Short Sml S0 )Ten Variables
var Size Short Small S1 )
var Size Short Med S2 )
var Size Short Large S3 )
Var Size Reg Small S4 )
Var Size Reg Med S5 )
var Size Reg Large S6 )
var Size Tall Small S7 )
var Size Tall Med S8 )
var Size Tall Large S9 )
// Body Models
var Dead B1 )Nine Variables
var Emanciated B2 )
var Skinny B3 )
var Slender B4 )
var Normal B5 )
var Athletic B6 )
var Voluptuous B7 )
var Heavy B8 )
var Obese B9 )
// Attractiveness
var Corpse H0 )Ten Variables
var Very Vulgar H1 )
var Vulgar H2 )
var Very Ugly H3 )
var Ugly H4 )
var Plain H5 )
var Attractive H6 )
var Very Attractive H7 )
var Pretty H8 )
var Very Pretty H9 )
// Age Restrictions
var Early Twenties M0 )Sixteen variables
var Mid Twenties M1 )
var Late Twenties M2 )
var Early Thirties M3 )
var Mid Thirties M4 )
var Late Thirties M5 )
var Early Forties M6 )
var Mid Forties M7 )
var Late Forties M8 )
var Early Fifties M9 )
var Mid Fifties MA )
var Late Fifties MB )
var Early Sixties MC )
var Mid Sixties MD )
var Late Sixties ME )
var Seventy MF )
if I calculate the number of variants, I would end up with 86,400 different combinations... so doing them as individual models would not only be tedious, but I'd end up with a very large database of possible selections; hence creating a script which interacts with MakeHuman, and then exports a result, would be a much better use of my time... I think... lolz.
Any suggestions on a direction to go with a python script to accomplish this?
My Dev Box: Asus CrosshairV with an AMD FX-9370 4.4 Ghz 8 core Processor, 32 GB 1600hz DDR3,
GeForce GTX-760 Video card, 2TB Seagate Constellation Class HDD. 1 GB Ethernet Lan
Running Ubuntu 14.04.4 on the 4.2.0-30 Kernel, with the Gnome 3.8.4 Desktop.