i did a small test to mimic bi-directional attribute settings....
download the maya file here
open the file, select any one cube and move it. The other cube's translateX will update ! i'm using a two script jobs and a script node which hosts a global procedure which does all the trick !
drop me your comments on this... can this be used in production or have you any tricks similar to this ?
Tuesday, September 25, 2007
Fun with scriptJobs (maya)
Posted by
ashish dantu
at
3:14 PM
1 comments
Labels: MEL/Rigging
Inspiring Technology
true 3D Paint ! thanx to bclark
and rigging in real life!
Posted by
ashish dantu
at
1:34 PM
0
comments
Labels: General
Monday, September 24, 2007
Old stuff i dug out !
my old maya doodles !
About how i was behind dynamic maya behaviour!
Check out the page > FmFA (fire my function attributes)
Posted by
ashish dantu
at
3:24 PM
0
comments
Labels: MEL/Rigging
Python !! started learning !!
started doing some python, after 1 yr of anticipation !
I'm working on making a MAYA pdc format to realflow converter python script. Still WIP. My first script at attempting some like this! think of it as more of a practice session with the deadly language !
Idea comes from this thread...
Posted by
ashish dantu
at
3:18 PM
1 comments
Labels: MEL/Rigging
Shifted to singapore..
I'm in singapore... joined VHQ post and this sure is a organized and modern place!
will be working no tools and tech support... for vhq..
check out http://www.vhqpost.com
Posted by
ashish dantu
at
2:44 PM
0
comments
Labels: General
Wednesday, May 16, 2007
OK, my mel doodles !
i've been posting some mel stuff in one of the forums... but i thought i can have these MEL
doodles here too :)
{
// find and rename the end joints
// select any top DAG node under which you have a joint chain
// running this will rename the LAST joint in the hierarchy
string $s[]=`ls -sl`;$s=`listRelatives -ad -type "joint" $s[0]`;
for ($e in $s)
{
if (!size(`listRelatives -ad -type "joint" $e`)) {
rename $e `substitute "[0-9]+" $e "_end"`;
}
}
// now u can deselect your 'end' joints easily before binding any geometry
}
{
// at selectted UV on a polygon place a follicle
// tweaked from the example in documentation
string $selObj[]=`ls -sl`;
float $uvValss[]=`polyEditUV -query -v $selObj[0]`;
string $objname[];$tmp=`tokenize $selObj[0] "." $objname`;
// create a follicle nodestring $fol = `createNode follicle`;
// get the parent transforms of the follicle
string $folTform[] = `listTransforms $fol`;
// connect the sphere to the follicle
connectAttr ($objname[0] + ".outMesh") ($fol + ".inputMesh");
connectAttr ($objname[0] + ".worldMatrix[0]") ($fol + ".inputWorldMatrix");
// apply the follicle output positions to its own transform
connectAttr ($fol + ".outTranslate") ($folTform[0] + ".translate" );
connectAttr ($fol + ".outRotate") ($folTform[0] + ".rotate" );
setAttr ($fol + ".parameterV") $uvValss[1];setAttr ($fol + ".parameterU") $uvValss[0];
}
{
// Create a group for a controller, which is oriented to it
string $s[]=`ls -sl`;select -cl;
group -em -n ($s[0]+"GP");
delete `parentConstraint $s[0] ($s[0]+"GP")`;
parent $s[0] ($s[0]+"GP");
}
{
// to snap objB to objA
// select objA and then shift select objB and run :
delete `parentConstraint`;
// this will point n orient snap or
delete `pointConstraint`;
// this will just point snap
// this saves us the use of 'remove target' from the constraints menu !
}
-more coming soon, or keep checking the thread .. !
Posted by
ashish dantu
at
11:26 PM
0
comments
Labels: MEL/Rigging
Sunday, November 05, 2006
Rigging - uumm, started about it ....
hi,
ok, will try to post my rigging practises and ideas along with some mel scripets .......
recently me and my friend udai were thinking about what cud be the method of having a IK control driven say tail / trunk / tentacle.. but have the FK controls to follow along and then have the FK controls to still rotate to give the animators per joint controls..
i've done some sample and will post the scene sooon... i shall post some of my tests and r&d works here soon..
-rgds,
Posted by
ashish dantu
at
9:37 PM
1 comments
Labels: MEL/Rigging
Ehhhoooww !!
hi,
welcome to my blog ! i've been wanting to do this for long... time now!
but ya this place is where all my ramblings and ting tings about my work will be put and i'd love to share ideas with all !
ehooow ! happy blogging !
-cheers, ashish
Posted by
ashish dantu
at
9:17 PM
0
comments
Labels: General