Search Maya Zest



Friday, April 22, 2011

2D layer tracking to 3D layer position (After Effects)

I needed a way to attached a 2d layer in after effects to a 3d layer which was moving in 3d space. Searching online led me to this brilliant little snippet of code which connect the two. Simply alt click the clock next to the position attribute of the 2D layer you want to follow the 3D layer. Then change the "my3DLayer" (only change what's between the quotes) to the name of the 3D layer you wish to match the movement of.

l = thisComp.layer("My3DLayer"); l.toComp(l.anchorPoint);
It works great! Please let me know if you found this useful!

Tuesday, April 19, 2011

Unwanted moving or animated UV MAP (MAYA)

Recently I had to do some UV map finagling and somehow managed to get my model into a state where if I moved the rig, one of the UV maps would literally slide around in the UV editor, causing the map to go crazy on that part of the model.

The solution!? Delete NON deformer history for the model.

edit>delete by type>non-deformer history

Check to make sure everything still works correctly and you are good to go!

Please check "HELPFUL" below if it was, if not COMMENT below and tell me why! Don't miss another tutorial or tip! Subscribe to Maya Zest  

Tuesday, April 5, 2011

How to find your MEL scripts path MAYA

Sometimes it's a pain to try and assertain where in the blazes your Maya MEL scripts folder actually is. Here is a quick way to locate it!

type "internalVar -usd;" no quotes into the MEL script box in the bottom left of Maya and hit enter.

Then pull up the script editor in the bottom right of Maya to view the path.


SPECIAL NOTE:
Apparently when you install MayaBonus2010 Tools your scripts path might get changed and even if you run the command above it will not tell you the correct location of your scripts folder. If you press the scripts box, very lower right of the screen in Maya. You can then select file>load script, and this should show you the new folder.
In my case E:/MayaBonusTools2010/scripts

That was a royal pain to figure out. It coudln't seem to locate my scripts folder anywhere...

If you come across any easy way to locate your Maya scripts folder please let me know!

Monday, March 14, 2011

How to add a joint to an existing MAYA RIG



First create your joint name it something appropriate so you can find it in the list of other joints.

Select the joint hold shift and select your mesh.

Go to skin>edit smooth skin>add influence SETUP

Now turn the default weighting to "0" at the bottom. Then turn "weight locking on".This will attach your joint to the new mesh without messing with you current weighting.

Now select your mesh and go to:

skin>edit smooth skin>Paint Skin weights tool

Find your joint in the list of bones that appear in the paint skin weights settings. Below the list is a "toggle Hold Weights on selected" button. Press this to remove the hold on the new joint you created.

And you're done!

Please check "HELPFUL" below if it was, if not COMMENT below and tell me why! Don't miss another tutorial or tip! Subscribe to Maya Zest