Collada plugin for After Effects

More info here
trueSpace Plugins and Scripts - Animation
 
bake keyframes for trueSpace7.61

Installs a button for baking keyframes.  Is useful for converting animations controlled by command scripts to keyframes.  Command script controlled animations don't render and this fixes the problem.

Usage:

  • set the animation play range to determine what keys get baked
  • select the item to bake and push the button
  • a keyframe will be created at every frame for the object
  • remove the command script controlling the object

Right click the button to open the panel where the delay value can be set.  Set it large enough so that any scripts have time to run before a key is set.

The main reason this script was created was because the constraint scripts give errors when you try to render the d3d view to a sequence while they are active.

April 6, 2010
 
Camera FOV Attribute Transfer for trueSpace7.61

Script for transferring the camera FOV to an objects position, rotation and scale.

Usage:

  1. Set camera to "Exp" aspect in the LE
  2. Connect Camera output to the cam input
  3. Connect the MatrixOut to some object in the scene

Now when the scene is exported to collada format the object's transforms will hold the FOV animation for the camera.  Rotate X will hold the fov in degrees.  Scale X and Translate X will hold an After Effects compatible zoom value.  Translate X is only valid if imported with a scale of 1 and the After Effects zoom is via pick whip and multiply by the composition height.  If pick whip on scale also divide by 100 since AE converts scale 0-1 to 0-100.

Note:  The collada exporter exports the camera fov from model space values and ignores the work space fov value.

September 16, 2009
 cloth conversion script
Cloth to vertex and morph animation for trueSpace7.61

Script for creating morph targets or vertex animation from a workspace cloth simulation.  The vertex animation also requires a python script available here.  Right click to save the script.  It can be saved to "C:/trueSpace761/tS/PythonScripts", but the location does not really matter.

Installer creates a button that runs the script in the panel view.

Click this for the first part of the video demonstration for vertex animation(wmv, 4:00, 3.5Mb).

Click this for the second part dealing with morph animation(wmv, 4:52, 3.9Mb).

October 29, 2009
 
Constraints for trueSpace

Follow the link above to go to the constraints page.  Has translation, rotation and general constraints for using one object to control another.  WMV videos on the page demonstrate their use.  Use the bake keyframes script above and remove any constraints before rendering the d3d view to an animation.

September 4, 2009
Joint Orientation Helper for trueSpace7.61

Script for controlling the orientation of joints in a skeleton.  The script creates a mesh that indicates the orientation of the selected joint.  Change the orientation of the helper mesh and then use the second part of the script to transfer the changes to the joint.

Use on an unskinned skeleton, otherwise the skin will deform.  It's best to use this tool before skinning.

To use on a skinned character(assuming uv set 2 is free):

  1. Apply any uv map using UV set 2
  2. Edit  uv map set 2 and choose "Flatten selected UV vertices" to make unique uv's for each vertex.
  3. Copy the character/actor and use the copy in the following steps.
  4. Use the "Attach Skin to Skeleton" tool to detach the skeleton.
  5. Do joint orientation/Zero All Joints on the new character without a mesh.
  6. Use "Attach Skin to Skeleton" to reattach the skeleton to the mesh.
  7. Use "Transfer skinning weights" and choose "UV 2" in the mapping options.  Select the original character and the skin weights will transfer to the new character.

The standard 3d colors will make a helper mesh where x=red, y=green and z=blue.

Version 2.0:  Works with joints at the end of a chain and added a third button for setting all the rotations of a skeleton to zero.

Version 2.0.1: Just added some feedback to the status line and a finished message.  No functional changes

Installer creates a button that runs the script in the panel view.

November 11, 2010
 
Light Passthrough and Light Attribute Transfer for trueSpace7.61

2 part script for transferring a lights spot angle and color to an objects position, rotation and scale.  One script goes inside the light.  The other resides at the scene level.

Usage:

  1. Place the lightPassthrough script node inside the light encapsulator.
  2. Export the 2 output connectors, "angleOut" and "colorOut"
  3. Connect the "angleIn" to the outside through the "Angle" connector on the encapsulator.  Skip this step if the light isn't a spot light or the cone angle isn't animated.
  4. Connect the "colorIn" to the outside via the "Color" input connector.
  5. Add the lightAttrTransfer node to the scene level.
  6. Expand the light and connect the angleOut to the spotAngle input of the lightAttrTransfer node.
  7. Connect the colorOut of the light to the lightColor input of the lightAttrTransfer.
  8. Connect the matrixOut of the lightAttrTransfer to an object in the scene.

Now when the scene is exported to collada format the object's transforms will hold the cone angle and color animations for the light.  Rotate X will hold the spot angle in degrees.  Scale XYZ and Translate XYZ will hold the color values.  Translate X is only valid if imported with a scale of 1.  If pick whip on scale in After Effects then divide by 100 since AE converts scale 0-1 to 0-100.

September 16, 2009
 
Parenting/Unparenting script

Parenting and Unparenting button installer.  Script adjusts the child object's matrix to maintain relative position and then connects the world matrix of the parent to the owner matrix of the child object.

Usage:

To parent choose all the children and then the parent in the 3D view and use the left mouse to push the button.  To unparent choose the child and push using the right mouse button.

November 6, 2009
 pivot vertex
Pivot to vertex selection script

Button installer for a panel used to move the pivot of an object to the center of a point edit selection.  Use the script to save a PE selection and then move the pivot to the same location as the previous selection.

June 20, 2010
August 31 2009