Neuroscience project

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

Moderator: joepal

Neuroscience project

Postby Shagrath » Wed Feb 03, 2016 5:35 pm

Hi guys, wth my lab Im trying to do a virtual reality experiment about body perception. Setting the measures manually i m able to configure a body wih certain characteristcs, but how those characteristics ( like circumference in cm ) vary when i change weight and muscle tone in the "main" settings? Are those parameters related? there is an algorith? Let suppose i should have a "+30% body and a -30%body (so i can use them to do a morphing in 3ds and obtain 10 bodies) , in your opinion how could i optimize weight and muscle parameters? thank u
Shagrath
 
Posts: 2
Joined: Wed Feb 03, 2016 5:23 pm

Re: Neuroscience project

Postby joepal » Wed Feb 03, 2016 6:10 pm

First: the body is not calculated from measurements (such as weight, muscle mass or waist circumference). The measurements are approximated from the current state of the body, which is the sum result of what targets have been applied. I think in principle the distance between a set of vertex points is what is used to approximate those measurements. It is very difficult to go in the other direction.

To get an understanding of what happens when you move the weight slider, you might want to skim through this video: https://www.youtube.com/watch?v=X13k7H3dNHo

If you want to generate bodies programmatically, I think you'd have to adopt a brute force approach and move the sliders gradually (this can be scripted) and check if the measurements end up being in the area of what you want. For different combinations of macro targets (age, gender, height...) you will most likely end up moving the weight slider to different positions to acheive a +-30% change.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am

Re: Neuroscience project

Postby Shagrath » Sat Feb 06, 2016 3:16 pm

Thank you very much Joel for giving us those insights.

"and move the sliders gradually (this can be scripted)"
How can i script it?
Shagrath
 
Posts: 2
Joined: Wed Feb 03, 2016 5:23 pm

Re: Neuroscience project

Postby joepal » Sat Feb 06, 2016 3:44 pm

Either by writing a plugin, or by using the existing scripting or shell plugins.

In the nightly build you will have to enable the plugins under settings.

To get an impression of the kind of code that is required, see the source code of the scripting plugin at https://bitbucket.org/MakeHuman/makehum ... ew-default

Lines 564-568 contain an example of how to apply a target (which is basically what you do when you move a slider).
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4627
Joined: Wed Jun 04, 2008 11:20 am


Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest