Thanks Chad, but which closetPoint function should I use? And what if there are multiple matrices matching a certain distance to an array of points? I guess I'm just confused as to how to manage all those arrays with unequal lengths and kinds from within the MPxDeformerNode::deform func which forces you to use MItGeometry to produce the final deformation, though I'm not sure if using "compute" would be any easier...
On Aug 10, 10:13 am, Chad Vernon <[email protected]> wrote: > You have to create the association. You could use closest point or uvs, or > any other association that you want. > > > > > > > > On Wed, Aug 10, 2011 at 10:09 AM, notanymike <[email protected]> wrote: > > It's not a new idea to deform a mesh using a transform riveted to that > > mesh. However I was wondering if one could do the same without > > transforms. That is to say, something that's a cross between a skin > > cluster and a wrap deformer. I was thinking of using MItMeshFaceVertex > > to build a transformation matrix using the position as the translation > > value, and the normal and tangent for rotation. The question is then, > > now that I have this array of matrices, how then do I make sure they > > deform the right regions of the target mesh? > > > -- > > view archives:http://groups.google.com/group/python_inside_maya > > change your subscription settings: > >http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
