Getting BlendShape multi target weights?

Getting BlendShape multi target weights?

TubbyCrumbles
Participant Participant
375 Views
0 Replies
Message 1 of 1

Getting BlendShape multi target weights?

TubbyCrumbles
Participant
Participant

Hi There

I am developing an export plugin for Maya to get the blendshape data out to a custom format. All is working fine except for blendshape deformers which have multiple targets. I can get the targets just fine and can export the vertex data but what I can not find is how to get the weight values for those targets at which they become full, for example I have a cube that blends to a sphere via a cone, the cone is set to be full at 0.5 and the cone at 1.0 but how do I get those values back from the MFnBlendShapeDeformer class the only weights it gives me is the weight of the whole blend.

 

And while on the subject of multiple target blendshapes how does one go about getting the vertex data for those targets if they have been deleted from the scene. The gettargets method returns an array of 0 length, so again I am thinking I need to some how get the target full weight values and set the blend weight to thos and then get the vertex info from the deformed mesh, is that correct? If so then again I need to know how to get the full weight values for each target in the blendshape.

Thanks

Chris

 

 

 

0 Likes
376 Views
0 Replies
Replies (0)