I think you should read this document.
http://www.angelfire.com/ex2/andreamaiolo/skinningAtILM.pdf



On Wed, May 2, 2012 at 5:58 AM, notanymike <[email protected]> wrote:

> Update: I've progressed somewhat where I can create and access MPxData
> information and can store matrices, weights, and influence indices all
> under one MPxData class. However storing the information isn't working out
> -the pointer keeps getting deleted, including the one stored as an
> attribute. Is there any way to preserve MPxData attributes which are arrays?
>
>
> On Monday, April 30, 2012 12:06:45 PM UTC-7, notanymike wrote:
>>
>> I'm attempting on writing a deformer similar to a skinCluster, but with a
>> spline-style deformation. As the spline is generated procedurally using
>> joint matrices for the "edit points", I was wondering if storing those
>> spline matrices inside a MPxData plug would improve the speed of the
>> deformer node, as there is no MFnMatrixArrayData to store the MMatrixArray
>> Into. However I'm not finding any tutorials for using MPxData within
>> python. Can anyone show me how to use it in this context?
>>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>



-- 
Ali A. Jafri
www.cgrama.com

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to