Showreel 2014(updated)

24 February 2011

add or remove keyframes MEL in Maya

UPDATED 10/2012: see below for the updates.

Hi guys, I have been using this method for a while now, and I have found it quite useful. So I thought it could be a salient idea to share with you guys as well as for future reference so that I can find it. :D

So let's get started. Firstly, Let me introduce the following MEL code:

timeSliderEditKeys addInbetween;

timeSliderEditKeys removeInbetween;

So, its very straight forward, the first line is adding a frame, the second one is removing a frame.

Next, let's make a button on a shelf.
1. create a new shelf or use the existing one.


2. open up script editor, copy and past the code above to the editor












3. select one line,and hold MMB(middle mouse button) and drag the code to the shelf, save as MEL script.
4. select the other line, and do the same as above.
5. change names, I usually name it as '+key' and '-key'.




6. done!

Tips:
when you animate a shot, if you want to adjust the timing of one particular part, then remember to select all the controls and then add or remove frames. This way, you won't mess up with your keyframes and other timing.

Hope this helps.

----------------------------------------------------------------------------------------------------------------------
Updates (10/2012):

Let's make a shortcut for this one. (faster workflow)

Step 1: click->Window->Settings/Pref ->Hotkey editor















Step 2: Create a new Hotkey by click 'New', input values as shown below for the add inbetweens, same process for remove inbetweens.

Step 3: Assign new hotkey, This is your part to fill in, depend on what hotkeys you feel right. for me I'd like to use 'Option' + d(for Mac), or 'Alt' + d (for PC) for adding inbetweens, and 'option' + s, or 'Alt' + s for remove inbetweens. Sometimes Maya tells you the Hotkey is already assigned to something else, if you find that you will never use that you can replace it.


This process will fastern your animation workflow. Similarly if you want to assign a Hotkey to open Outliner, you can do so by adding OutlinerWindow; to the Command area then create a new Hotkey (I use Alt + b)

08 February 2011

AM class 4 week 5

Hi guys, sorry for the unactive update, this is the final week on this shot, so I thought I'd upload it to share it with you guys, enjoy.