multiple wrap problem


#1

hello all,

thanks in advance for any help, here is my prob.

i have a main mesh of a shirt and tie. then i have what i call a wrap_shirt_mesh and a wrap_tie_mesh.

for simplicity imagine the shirt mesh has like 1000 vertices and i extracted the other two meshes out of it. so maybe the wrap_shirt_mesh has 800 verts, and the wrap_tie_mesh has 200 verts. (not exactly precisely the case but hope it helps to explain).

so i want the shirt to be driven by both the wrap_shirt_mesh and the wrap_tie_mesh. so i did a wrap deformer to both of them. i used the Edit Deformers > Paint Set Membership Tool in order to make sure the desired verts of the shirt are wrapped to each deforming object.

as far as i can tell, everything highlights correctly, but i cannot get both wraps to work simultaneously. i have done this once before and remember it being a bit buggy.

i have an array for both the tie and the shirt and i am using MEL like the following

sets -fe wrap21Set $neckArray;
sets -rm wrap21Set $jacketArray;
// this assigns the tie verts, to the wrap_tie_mesh - and removes them from the influence of the shirt

sets -fe wrap18Set $jacketArray;
sets -rm wrap18Set $neckArray;
// this assigns the shirt verts, to the wrap_shirt_mesh - and removes them from the influen ce of the tie

so everything looks perfect when highlighting the the Paint Set Membership Tool, but when i move the rig the wraps do not appear to be working. (i have increased distance etc)

so is kind of a simple thing, two separate wraps pushing one object, which i have done before a while ago. but cannot get it to work now.

anybody have any ideas?

thanks


#2

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.