Page 2 of 2

Re: How does MH do smooth ?

PostPosted: Thu Nov 24, 2011 9:12 am
by Brei
mflerackers wrote:Like I said, it's just vertex index i followed by a displacement vector d, so you do for each entry vertex[i] += f * d with f between 0 and 1.


yeah,yeah, i got it. but how do you determine the vector d in target file?

for example, a line in "male-child-muscle-heavy-stomach1.target" is

2888 -0.004597 -0.095978 0.474882

how do you know the full morph of vertex 2888 is the vector (-0.004597 -0.095978 0.474882),
and why do you choose vertex 2888 in this target file?

i mean where all the target files come from?

Thanks :)

Re: How does MH do smooth ?

PostPosted: Thu Nov 24, 2011 9:25 am
by mflerackers
The full morph of vertex 2888 with this target is obj.verts[2888] += (-0.004597 -0.095978 0.474882). The vectors are differences, not end positions. The target files are made by modeling a final position and then subtracting the original model from it.

Re: How does MH do smooth ?

PostPosted: Thu Nov 24, 2011 9:32 am
by Brei
mflerackers wrote:The full morph of vertex 2888 with this target is obj.verts[2888] += (-0.004597 -0.095978 0.474882). The vectors are differences, not end positions. The target files are made by modeling a final position and then subtracting the original model from it.


yeah! got it!

A presumptuous request, could you please share your final position models ? ;)

Thanks.

Re: How does MH do smooth ?

PostPosted: Thu Nov 24, 2011 9:42 am
by mflerackers
I don't have those. You can just calculate them by adding the target to the obj.

Re: How does MH do smooth ?

PostPosted: Thu Nov 24, 2011 10:36 am
by Brei
mflerackers wrote:I don't have those. You can just calculate them by adding the target to the obj.


ok, thank you for all of your help.

thank you so much.