PDA

View Full Version : Assigning attribute maps on Softbody And Jiggle


ramdas
01-02-2011, 06:25 AM
Hi guys I am Abhishek
I have made a muscle creator only thing remaining is how to apply a custom attribute map to softbody or jiggle.
Map can be made by me as jpg in maya icon folder or wherever but how to apply that ?
Is at attrContext command and makePaintable commands?
But how to do it in proper manner?

schock
01-02-2011, 09:03 PM
Soft bodies:
I would buffer the softbody on a separate object through a blendShape and control the soft bodies affect with the blendShape's targetWeights

Edit a blendShape's target weights directly

setAttr "blendShape1.inputTarget[0].inputTargetGroup[0].targetWeights[3]" 1;


Jiggle:
Edit the jiggle weights directly.

setAttr "jiggle1.weightList[0].weights[0]" 0;

For extracting a color map like a jpg to a compatible attribute map use this method. Uses the colorAtPoint command.
Extract color values (http://tech-artists.org/forum/showthread.php?p=5882)

CGTalk Moderation
01-02-2011, 09:03 PM
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.