Social

Links
« Ghost Pose Tool | Main | Gears of War 3 announced! »
Wednesday
Mar162011

Maya Marking Menus

So wow, I kinda forgot I ever made this blog. Lots has happened since the first post way back when. Let's see, Gears 3 has a beta coming out in the month of April, awesome. We released a kick ass, real-time, next-gen tech demo @ GDC. I went to GDC and saw lots of cool shit, and met lots of cool people. Which is what inspired me to even find this old thing, and maybe utilize it. So, first, an easy, mini-tutorial going over marking menus in Autodesk Maya!

So, marking menus are pretty awesome. If you've ever used the hotbox, you've used a marking menu. But, you can create your own custom marking menus very easily!

To do so, first, go to window-->Settings/Preferences-->Marking Menu Editor



Once there, you will see a bunch of the default marking menus Maya provides for the hotbox. To create your own, simply press the "Create Marking Menu" button.




Give it a name, and from here, you can start dragging shelf items into the boxes. The other cool thing you can do, is right click in an empty box, and select "Popup Submenu".



This opens a new window for you to drag even more commands into!



 
After you are done, you simply select where you want to use your marking menu(hotbox for example) and the region of the hotbox to use, and how to activate it.




So, what can you use this for? Anything you want! I, for example, have made myself a marking menu for skin weighting. I have commands that set the paint weights tool opacity and value settings. I can switch between smooth and add modes, and I can toggle the value hold on my selected joints as well, all with simple gestures, which is far faster than shelf buttons, or by manually typing in the paint weights tool itself.



 
Here are some simple code snippets for the weighting commands:

//Fine weights polish:

 

artAttrSkinPaintCtx -e -opacity 0.25 `currentCtx`;

 

artAttrSkinPaintCtx -e -value 0.25 `currentCtx`;

 

//set paint mode to add

 

artAttrPaintOperation artAttrSkinPaintCtx Add;

 

//set paint values to full

 

artAttrSkinPaintCtx -e -opacity 1 `currentCtx`;

 

artAttrSkinPaintCtx -e -value 1 `currentCtx`;


...you get the idea. Okay! well, the perforce sync is done now, so back to work with me! ;)

Reader Comments (1)

Hi dude i love this feature but are u able to make custom marking menus for different objects? i saw some of them in rigging reels like selecting arm control and marking menu apperas for FK IK switch . i could not find info about it but i could find that ppl do that modifing a file in maya .

June 11, 2011 | Unregistered CommenterMatvo

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>