custom height

MakeHuman python API, python plugins, etc

Moderator: joepal

custom height

Postby miser » Wed Mar 19, 2014 1:42 pm

Hello, I have no programming or scripting skills, so i have no idea how complex this could be to achieve.

I am designing in an online virtual world called meshmoon. I have exported makehuman models using collada in all the scales available(decimeter, inch, centimeters etc), brought those into meshmoon and see the avatar is quite large. i could scale in meshmoon but that will only change the mesh size, not the armature size. Now rather than fussing with the collada scripts to get the right height for meshmoon, i thought maybe it would be best to customize the height slider in makehuman, so i can create avatars with different heights, but in the scale of meshmoon.

So the question is, can i modify the script for the height slider to match the scale of meshmoon?

i am using makehuman 1.0.0 on my windows machine.

Thanks
miser
 
Posts: 20
Joined: Sat Mar 08, 2014 5:17 pm

Re: custom height

Postby duststorm » Wed Mar 19, 2014 2:18 pm

The height slider is intended for something else: adapting the height of the human (dwarf to giant).
What you probably want is scale the human entirely, keeping the relative proportions equal.
If you want to do this using scripting in MH you should pass a different scale to the exporters (not available from gui).
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: custom height

Postby miser » Wed Mar 19, 2014 2:31 pm

Duststorm, How easy would it be to pass a different scale to the exporters? Are we talking about making a whole new script or changing a value in an existing script?
miser
 
Posts: 20
Joined: Sat Mar 08, 2014 5:17 pm

Re: custom height

Postby duststorm » Wed Mar 19, 2014 2:51 pm

You pass it as the scale argument of the config object to the exporters.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: custom height

Postby miser » Wed Mar 19, 2014 4:35 pm

Not sure which script contains the necessary info on the PC?

forgive me, i need a point in the right direction
miser
 
Posts: 20
Joined: Sat Mar 08, 2014 5:17 pm

Re: custom height

Postby duststorm » Thu Mar 20, 2014 1:52 am

plugins/9_*collada*
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest