Collada plugin for After Effects

More info here
After Effects Plugins and Scripts

Collada Import/Export FREE

Free full version of the Collada Import/Export plugin for After Effects CS3, CS4, CS5/5.5 and CS6 and CC.

July 30, 2013

Export Mocha tracks to Syntheyes

A script for exporting the result of a Mocha for AE corner pin effect to a Syntheyes 2D tracker file. The idea is to provide Syntheyes with data from a planar tracker. The advantages of planar tracking are explained in videos here, http://www.imagineersystems.com/support/learn-mocha. The videos are a set of tutorials produced by Steve Wright for Imagineer Systems Mocha product.

Select the layers that have the corner pin data and run the script. The tracker names will come from the layer names, so it would be a good idea to give each layer it's own unique name.

September 1, 2013
shy it dialog

Shy It for After Effects

A script for hiding/filtering layers based on the layer name.

Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

Type in the text box to match against the layer name.  Type something like "Light"(without the quotes) to match layers that have Light somewhere in the name.  The script will also process Javascript regular expression syntax.

Some examples assuming a layer named "Light Bulb":

  • L, Li, Bulb, Bu, ght, Light, Bulb plain text will all match the layer
  • ^L matches the L at the beginning, ^ is for the beginning
  • b$ matches the b at the end, $ is for the end
  • Spot|Light will match the Light portion, | is for or, search for Spot or Light
  • . match any character, * match preceding character 0 or more times, + match the preceding character 1 or more times

Check Opposite to isolate the layers that match the text. Uncheck to isolate all except the layers that match. Check Case Sensitive to match against case.

Preserve will save the current shy states of the layers.

Restore places the preserved shy values back in place.

Press Go to filter the list. Press UnShy All to remove the shy attribute from all layers in the composition.

The drop down box has presets for use with the AECollada experimental imported geometry layers.  It fills in the textbox with the corresponding regular expression.  Faces will match polygon layers, Vertices will match vertex null layers and Faces and Vertices will match both cases.

Dec 10 2011 - added tool tips, preserve and restore, no action if text is blank

Dec 14 2011 - bugs, only worked with footage layers, text search fails after first run so use match method instead, if any identical layer names use the layer index instead

December 5, 2011

ColladaRoot for After Effects

A script for creating a root null layer for the AECollada imported scene. This is useful for Collada files that have a Z up orientation and import laying on it's side. The compositions top level layers are parented to a null named ColladaRoot. It can be rotated in the X direction to make the imported scene stand upright.

Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

December 5, 2011

Show Redundant Vertices for After Effects

A script for isolating redundant vertex layers that result from the AECollada experimental geometry import. A set of vertices(nulls) is imported for each polygon, so a cube will import 24 vertices instead of 8. This script isolates the excess vertex layers by making all other layers shy. Once exposed the extra vertex layers can be deleted. Note that this script does not preserve the shy state of the layers.

Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

December 5, 2011

Bake Camera for After Effects

A script for baking the animation of a camera for exporting. Original script is by Ryan Gilmore and can be found here. My only modification to the script is to limit the rotations between +180 and -180 degrees. Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

January 29, 2010

Set CC Particles to match a null's position

A script for connecting the producer position of the CC Particles World effect to a null's position. Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

Select a 3D null layer and a layer with CC Particle World applied to it then run the script. The script creates expressions for the producer's x, y and z that makes it follow the selected null. This script is based on a free tutorial found at VideoCopilot modified to use the null's world position to allow for the use of a parented null.

September 13, 2009

Fix camera zoom from Lightwave(version less than 10.1)

Lightwave collada prior to version 10.1 does not export the camera aspect ratio properly. It always exports a value of 1.0  The After Effects Collada importer uses this value when setting the After Effects camera's zoom value. This script is used to fix the camera zoom value inside After Effects. This fix is for cameras that don't have an animated field of view.; Right-click the link above to download the script(save target as/save link as). Place the script in the Scripts folder, "...\Adobe\Adobe After Effects CS3\Support Files\Scripts", for easy access.

lightwave frame aspect

 fix lw fov

Select the camera layers that were imported from Lightwave and run the script. Open the scene in Lightwave and open the camera properties to read the Frame Aspect Ratio. The script defaults to 1.3333 which matches the Lightwave default camera.

From Collada specs:

The aspect ratio is defined as the ratio of the field of view’s width over its height;

therefore, the aspect ratio can be derived from, or be used to derive, the field of view parameters:

aspect_ratio = xfov / yfov.

September 16, 2009

Playblast/Preview Render Script

Not really an After Effects script but a Visual Basic Script for creating a preview of the entire After Effects screen without skipping any frames and with all the symbols for lights, nulls and cameras being visible. This script was used to capture the image sequence used in the demo videos for the After Effects Collada Importer plugin. Right-click the link above and save to download. The script uses a free screen capture utility called MWSnap.

mwsnap snapping settings mwsnap autosave

Setup MWSnap for capture.

  • Set to capture the entire screen, "Capture - Full Desktop"
  • Tools - Settings - Snapping set to not restore MWSnap after snapping
  • Tools - Settings - Auto saving set for numerical suffix

Prepare After Effects for capture

  • Baked visible keyframes - need a keyframe on every frame and need to see the keyframes in the time line. Do this by alt-click on the watch icon for any layer attribute to set an expression then use menu item "Animation-Keyframe Assistant-Convert Expression to keyframes". The script uses the "k" keyboard shortcut and the timeline keys must be visible for it to work.
  • Set After Effects to the first frame, do not minimize the application

Run the script

  • MWSnap must be active and After Effects must be set to the first frame to capture.
  • First thing that happens is that the script asks for the number of frames to capture.
  • Script moves the After Effects window to the front
  • Then for each frame
    • The script will take a snap shot using MWSnap via the hotkey combo "ctrl-shift-d" and wait 4 seconds for the file to save
    • Send "k" key to the After Effects timeline to move to the next keyframe
  • Leave the computer alone until it's finished
  • To abort use ctrl-alt-delete to choose and kill the script process
September 16, 2009
June 6, 2013