Friday, August 3, 2012

Trying to learn: Adding more code!


This is lesson 5 (Link).
This video further expands on the facial expressions controls and builds some relationships between them like having a blink affect the eye brows and the cheeks or a smile slider affect the mouth, the jaw and the cheeks all at the same time without having to animate them independently.

CODE IN EACH NULL OBJECT ATTACHED TO PUPPET PINS:  
  1. Go to the Null Object that corresponds with the names below.
  2. Copy the code that corresponds to the Null Object below. 
  3. Alt+Click on Position Stopwatch to paste code in blank.
  4. Profit.
ALL THE SLIDERS, BY NAME
Blink, MouthShape, Jaw, Smile, Eyebrows, Anger, Cheeks. Then make new ones by the names EyeBrowsRT and EyeBrowsLFT.  


ALL THE CODE THAT GOES INTO THE NULL OBJECTS THAT ARE ATTACHED TO THE PUPPET PINS ON THE HEAD COMPOSITION

Thursday, August 2, 2012

Trying to Learn: Preventing Distortion with the Puppet Pin and Starch Pin tool

Supposedly this will teach me to Apply Expressions to the Sliders that I addded to the Null Objects to prevent too much distortion to the Puppet Pins. (Link)

What'd I just say?

Update: This lesson used the Puppet Pins and Starch Pins to prevent too much distortion when you use the Null objects to distort the face.

Red Dots are the Starch pins, the Yellow X are the Puppet pins.  The yellow X with a red "null" box attached to them are the animatable distortion areas of the face.

Video Follows:

Wednesday, August 1, 2012

Trying to Learn: Puppet Pins and Null Objects

Part 2:  Attaching Null objects to the eyes and mouth, then attaching sliders to the null objects. (link)



Part 3: Creating Puppet Pins to distort the face, and attaching null objects to pins to use sliders. (link)

ADD THIS BIT OF CODE to the pins, by right clicking the position "clock" and add this to the expression area. then highlight the layer name (in red) and pick whip to the correct layer:

n = thisComp.layer(“layerToFollow”);
nullpos = n.toComp(n.anchorPoint);
fromComp(nullpos);