Stretchy Joint Exercises
 
 
In my Squash and Stretch lecture this week, I showed a method for putting expressions on joints that automatically squash and stretch their accompanying geometry. I also showed Gould's technique of scaling skeletons. Using these two MEL scripts, please do the following exercises:
 
 
(1) Automatically select all joints between the first selected joint and the second selected joint and generate a "Squash and Stretch" expression for each joint in-between. Don't include the second selected joint.
 
(2) Automatically create a dialog box with two sliders and a button on it. Have each of the two sliders move through and select any of the available joints. Use the first slider to select the first joint and the second slider to select the second joint. Pressing the button should put "squash and stretch" on the in-between joints.
 
(2a) Detect if you have done this operation already on each of the joints in the sequence and inform the user of that before trying to do the operation.
 
(3) Modify Gould's MEL script "scaleSkeleton.mel" to automatically generate a dialog box with a float slider on it that scales the skeleton larger and smaller.
 
(4) If there is geometry bound to the joint, scale the geometry to match the skeleton.
 
 
Include the mb file and a text file showing the MEL script with changes and explainations as to what you did.
 

Please deposit your text files and mb files into the class folder in mycourses.rit.edu.

Thank you.