hello,

i got this concept working fine with python cmds. I am trying to see if i can 
get it working with api. So far with the thanks to Justin Israel, i got my code 
to this stage:

http://pastebin.ubuntu.com/23630582/

basically imagine there are 3 meshes:

1) a female neutral mesh named "target"
2) a male neutral mesh named "neutral"
3) the same male mesh but in a muscle man pose named "expression"

all meshes have identical topology

all i want to achieve is to first find the relative difference between the male 
neutral mesh verts and the male muscle man mesh verts. And then to apply this 
difference on top of the female neutral mesh.

I got this working fine with cmds. So the i would find the difference values 
for each vert and store in a list. I would then apply this difference on top of 
each corresponding female mesh vert with the move commmand. It produced the 
same pose but a female version.

However in my api code i am using the setPoints() method which i think is 
taking the difference but making the transforms absolute. So the female neutral 
mesh becomes identical to the male muscle man mesh, rather than it generating a 
female version of the muscle man pose.

can anyone show me where im going wrong here. I know it can be done with a 
small tweak im sure.

sorry for long post,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/804aba19-1965-4377-bf99-05c4856ef54c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to