Default interpolation tool

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Default interpolation tool

Post by clintonman »

The keyframe interpolation toolbar makes it so you can create keys with something other than bezier as the default. It's good for roughing in an animation and avoiding some of the crazy overshoots trueSpace creates during the process. It's also good for IK animation. The default interpolation can be set to flat or linear and things won't slide around.
The disadvantage is that it only works on all keyframes or a selection of keyframes and the mode has to be set by the user. I couldn't find any information in the SDK for getting a selection of keyframes, so the script can't tell if any are selected or not.
It's still a little bit of a WIP, but if it works out I'll be doing my Apollo project animation in tS instead of Lightwave or Blender.

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
Clinton Reese

http://clintons3d.com
User avatar
Draise
Captain
Posts: 3198
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

Re: Default interpolation tool

Post by Draise »

Hand man, really handy.

You are rocking my animation world in TS 7.61. Will be very handy for block animation techniques I want to use for a webseries.
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Default interpolation tool

Post by clintonman »

Update September 2017

Found a round-a-bout way to set interpolation on new keyframes. So creating a linear keyframe won't change all the other keys to linear.
The trick was to create the new key in a temporary track. That way select all, the only way to select keyframes in the sdk, will only select the one key for the interpolation change instead of every key in the animation.

When right click the interpolation buttons the type of interpolation will populate the panel.

It should work with animations that have multiple tracks, but in that case you have to set which track will receive the new keyframes. That's because there's no way to read which animation track is active.

http://clintons3d.com/plugins/truespace ... ation.html
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Default interpolation tool

Post by clintonman »

interpolationOptions.jpg

Updated for 2020 with new view controls and a different technique that is compatible with clips and tracks.
There's a lot of changes and this version requires the latest rsx plugin

The old version was not fully compatible with multiple tracks and blending modes. It required manual selection of the active track. The new version requires that all keyframes are selected before animating and setting a keyframe.

New in this version are the interactive sharpness and angle controls for the curve editor and the new view controls.

http://clintons3d.com/plugins/truespace ... ation.html

http://clintons3d.com/plugins/downloads ... Plugin.rsx
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Default interpolation tool

Post by clintonman »

Feb 8 2022 Update

fix select all button error
fix clear selection button error
interpolation default change to "-------"
change values of the interpolation dropdown list to match trueSpace context menu, with capitalization and full wording
add custom bezier toolbar button and dropdown option
reordered the toolbar buttons and dropdown to match the tS context menu
select all after create key and not all selected before to prepare for next keyframe creation
reset button for the curve values range

Edit:
Feb 9 fixed minor issue when non-animatable object was the subject of record keys
Clinton Reese

http://clintons3d.com
Post Reply