Showing posts with label after effects. Show all posts
Showing posts with label after effects. Show all posts

5/27/20

AE // distort border / edge

add effect, roughen edges (works only if alpha so if not, copy channel to alpha before)

5/16/20

AE // EXR file menu back




edit preference of AE, file menu item :











source (in comments)

8/4/19

AE // extend mask

MinMax effect - sometimes allow to remove black border on mask (ie normal AOV mask)
for better result add a remove color matting Effect just after





AE // working with exr

install fnord exr update from their website (AE not up to date)
color settings :

4/25/19

AE // unpremult (kind of)


Use the effect remove color matting (create an alpha before with shift channel or other if no alpha exist)

4/19/19

AE // fill alpha with solid color

Use the "solid composite" effect

AE // unpremult

use the channel combiner effect with solid alpha checker to unpremult (kind of)

AE // light wrap


or just a layer style


and set 0 to fill opacity to just have the effect

2/13/17

AFTER EFFECTS // text layer display name of current visible layer

http://www.motionscript.com/design-guide/source-name.html


txt = "";
for (i = 1; i <= thisComp.numLayers; i++){
  if (i == index) continue;
  L = thisComp.layer(i);
  if (! (L.hasVideo && L.active)) continue;
  try{
    txt = L.source.name;
  }catch(err){
    txt = L.name
  }
  break;
}

11/20/14

AFTER EFFECTS _ tips

 To launch a second instance of After effects :
"C:\Program Files\Adobe\Adobe After Effects CC 2015.3\Support Files\AfterFX.exe" -m
type it in cmd (windows) or save it in a .bat file and double click.


Shortcuts

b / n  work area end / start
- / =   zoom in/out timeline
ctrl shift h  Toggle Layer Controls in viewport
shift F4  toggle parent column
F4   toggle column
ctrl a   select all
ctrl shift a / F2  deselect all
ctrl L  lock layer
ctrl shift t   open effect panel for selected layer
ctrl shift p   open dialog box for position of selected layer
ctrl+   increase scale selected layer
ctrl-  decrease scale selected layer
shift F3  toggle graph editor/layer mode
ctrl shift d   split layer according time position
shift + / shift -   change blending mode
[    in point(start) of the layer
]  out point (end) of the layer
Alt Ctrl Shift Split the frame containing the active viewer and create a new  locked viewer
x focus selected layer
Ctrl+Alt+B Set work area to duration of selected layers 
Shift+Esc Toggle between two recent composition
 Ctrl+Alt+U To choose which layer controls to show in a view, shortcut for :  choose View > View Options
Alt+Shift+M Set key on mask path for selected layer
Toggle waveform on timeline

To manually edit/add shortcuts, edit the .txt file located here:
C:\Users\UserName\AppData\Roaming\Adobe\After Effects\*.*\Adobe After Effects *.* Shortcuts.txt
- "ToggleTabPanelMaximize" = "(RParen)"
-  "TimeTrimIn" = "(Ctrl+Alt+Shift+I)"
- "TimeTrimOut" = "(Ctrl+Alt+Shift+O)"
- for azerty keyboard, add "Pad" before numbers ex : 1 -> Pad1

Easy crop comp : select region of interest then composition - crop comp to region of interest
Preserve underlying transparency (small T check) = clipping mask in Photoshop
ctrl + double click pan behind tool = pivot to center

Some expressions
loopOut(type = "continue");
loopOut(type = "cycle", numKeyframes = 2)
loopOut(type = "pingpong", numKeyframes = 2)
loopOut(type = "offset", numKeyframes = 2)

# force fps animation
posterizeTime(8);
value

# round value
Math.round(effect("Slider Control")("Slider")) 
# keep only one decimal
effect("Slider Control")("Slider").value.toFixed(1)

#copy animation from layer and offset time
thisComp.layer(1).position.valueAtTime(time-1)