tS7.6 Animation Panel

free scripts, plugins, models, textures
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

tS7.6 Animation Panel

Post by trueBlue »

tS7.6 Animation Panel
tS76 Animation panel.png
tS76 Animation panel.png (5.76 KiB) Viewed 574 times
.
It has most of the functionality that the Animation Editor toolbar has,
except it has a timeline Scrubber. Drag & Drop into the D3D View.

You can use it with or without the Animation Editor.

R = Record Keyframe / Keying Panel
P = Play / Stop
|< = Start Frame
< = Previous Frame
<< = Previous Keyframe
>> = Next Keyframe
> = Next Frame
>| = End Frame

Edit: Updated 9/22/2024: For those that have downloaded any previous versions of this Animation panel, this version has been revamped and includes more functions on the inner workings.
Add: Play Range, Advance Frame, and Close [X] button

Post by clintonman » Thu Aug 01, 2019 4:56 pm Issue was fixed in the previous version
Attachments
tS76 Animation Panel.RsObj
(105.79 KiB) Downloaded 32 times
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

Update: 1/21/2010 9:38 AM PST
I updated this tS7.6 Animation Panel as the last version had a bug in the installer.
danperk

Re: tS7.6 Animation Panel

Post by danperk »

Thanks for your work on this and the other plugs tB!! :)

Have you noticed that truePlay won't play any frames beyond 300?

I can manually scrub past 300 but the range setting must be different for truePlay
than tS.
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

I do now! That sucks right along with SEVERAL other issues with truePlay2. errrrrrrrrr!
I do not think it is the Range settings because I can shrink it (400 in this test) within tP2, it just does not play past 300.
Thanks Steve or is that Dan? Hope everything is great your way!
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

I have updated the scrubbers on this tS7.6 Animation Panel.
Works 100% better!
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: tS7.6 Animation Panel

Post by clintonman »

circularLinks.jpg
Looks like you solved it with the Activity.KillAll() function, but the problem with the code is that it's running in circles. The red link above shows the Current_Time connector feeding back into the WatchDog, so the RsTime node is constantly feeding itself. If you remove that link, the Activity.KillAll() isn't needed anymore.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

OMG...how in the heck did that happen?
Fixed. Thank YOU!
User avatar
Draise
Captain
Posts: 3200
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia

Re: tS7.6 Animation Panel

Post by Draise »

I miss trueSpace...
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

Draise wrote: 02 Aug 2019, 14:15 I miss trueSpace...
Come back from the Dark side Draise! I miss YOU too! :)
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

Found a toolbar button for Model's Animation frame.
It acts like a scrubber.
Capture.PNG
Capture.PNG (13.34 KiB) Viewed 6155 times
I was wanting to use this in script form for my Animation panel, but unfortunately it is not compatible.

Code: Select all

tSBridge.AnimationFrame = tSBridge.AnimationFrame + %STEP;
Any ideas on how to write this in jScript?
Attachments
AnimFrame.RsObj
(22.37 KiB) Downloaded 379 times
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: tS7.6 Animation Panel

Post by clintonman »

I'm guessing you want to scrub both model and workspace? If so this works.

RsTime script

Code: Select all

function Execute(params)
{
var TimeIn = params.ConValue('TimeIn')
TimeIn = Node.Value("/AnimMng", "AnimTime")
params.ConValue("Current_Time") = TimeIn
tSBridge.AnimationFrame = TimeIn;
}
I suspect the "%STEP" only works from a toolbar button.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

Awesome, thank you!
Had to do some finagling to get it to work but it works great.
tS761 Animation panel
Workspace Animation on the top and Model Animation on the bottom.
A button to enable synching Model and Workspace's frames.
Capture.PNG
Still need to figure out how to Record a Model keyframe.
Right now the only commands I know of toggles the AutoRecord On/Off
Does not record unless you move the selected object with the widget. Geeeze :|
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

@Clinton
Can you test this and see if it works for you?
Record Model Keyframe

Code: Select all

tSBridge.SuggestTSStateByAlias("AnimationAutoRecord")
tSBridge.SuggestTSStateByAlias("AnimationAutoRecord")
tSBridge.SuggestTSStateByAlias("AnimationAutoRecord")
Widgets.Move('',0.000,0.000,0.000);
Run the above twice for each additional keyframes
Edit: After further testing this, the AutoRecord has to be in an Enabled state.
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

I think I found a way!

Code: Select all

tSBridge.XorTypeTSStateByAlias("AnimationAutoRecord")
Widgets.Move('',0.000,0.000,0.000);
The above insures AutoRecord is on.
User avatar
clintonman
Captain
Posts: 5659
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California

Re: tS7.6 Animation Panel

Post by clintonman »

trueBlue wrote: 14 Oct 2019, 15:31 I think I found a way!

Code: Select all

tSBridge.XorTypeTSStateByAlias("AnimationAutoRecord")
Widgets.Move('',0.000,0.000,0.000);
The above insures AutoRecord is on.
Nice find. The docs make it sound like it turns it off and on, not just on.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5548
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS7.6 Animation Panel

Post by trueBlue »

New update 10/15/2019 for this tS7.6 Animation panel
The button scripts now update the TimeIn attribute.

Return to “Repositorium”