Targets with intermediate points

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Targets with intermediate points

Postby blindsaypatten » Wed Mar 29, 2017 11:39 pm

I get the impression that some of the built in sliders do this: is it possible to have an intermediate point in a target so that from 0 to 50 does one transformation, and then 50 to 100% does another one? I think the proportions slider on the main tab starts with slimming the lower abdomen for the first half and then switches to scaling the upper torso in the second half. Thanks in advance for any pointers!
blindsaypatten
 
Posts: 586
Joined: Tue Mar 14, 2017 11:16 pm

Re: Targets with intermediate points

Postby joepal » Thu Mar 30, 2017 6:34 am

There's a difference between "target" and "modifier".

A target only has one endpoint. This is modeled by MakeTarget.

A modifier can have a max target and a min target, i.e it consists of two targets. In such a case it has a range of -1..+1, where 0 is that neither target is applied at all.

If you look in data/modifiers/modeling_modifiers.json (https://bitbucket.org/MakeHuman/makehum ... ew-default), you can see that the modifier is specified with a base name and the suffixes for min and max. If you then look in the data/targets/nose for example (https://bitbucket.org/MakeHuman/makehum ... at=default), you can see that there are ...-incr.target and ...-decr.target which specify the endpoints.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Re: Targets with intermediate points

Postby blindsaypatten » Thu Mar 30, 2017 6:52 am

Ah! Great, I'll check that out. Thanks!
blindsaypatten
 
Posts: 586
Joined: Tue Mar 14, 2017 11:16 pm


Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 2 guests