Final trueSpace 7.61 Beta 8 Unofficial Update

User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

You could just have 2 anim views open. One with fcurve and one with story. The manual says clips are for mixing separate actions, so it sounds like they should overlap in most cases.
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

I copied your populateTrackList script and renamed it ResetTrackList
It is not hooked up to any other scripts
Works very well on removing missing Tracks
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

if object has multiple animation tracks the script will default to the last one added and the record button on first press will open the panel to give the option of changing the target track
How do I test that the panel opens?
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

trueBlue wrote: 27 Jan 2022, 19:04
if object has multiple animation tracks the script will default to the last one added and the record button on first press will open the panel to give the option of changing the target track
How do I test that the panel opens?
"the record button on first press will open the panel"
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

I have the Type set to Flat
Closed the panel
I added a Cube
Pressed Record
The panel does not open
Checked the Key that was created in FCurve and confirmed that is Flat

With nothing selected, press Record
Source object: /Scripts/CustomCommands/KeyInterp/selectAllKeys Error: Unspecified script error Line: 5, Char: 1 Script text: RsAnim.SelectAll('');

I added:
if(!Node.FirstSelected()) return
Tried again
This time the panel opened
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

Key Interpolation panel.png
Key Interpolation panel.png (7.82 KiB) Viewed 1347 times
.
Changed the previous Switch button script to individual scripts for FCurve, DopeSheet, and Story
These cycle scripts Zoom to All and switch tabs to refresh the Anim view
Works likes a toggle (true | false) for the Zoom to All
I am sure you could do much better!
Issues:
1) Only works if the Frame Window exists. Default layout or similar and no floating windows
2) If the 1D, 2D, or 3D view is open, it will switch to 4D view
3) The Anim view's FCurve, DopeSheet, and Story tabs do not highlight when switched
Attachments
KeyInterp.RsObj
(80.81 KiB) Downloaded 79 times
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

NewKeyFrameInterpPanel.jpg
NewKeyFrameInterpPanel.jpg (40.53 KiB) Viewed 1328 times
This is the new keyframe interpolation tool. It uses a simpler technique so it doesn't rely on track selection anymore.
The panel opens floating now, because the zoom buttons require it.
Before positioning an object all the keys need to be selected first before setting a new keyframe.
It works by
0. all keys are selected using the button or the anim view context menu
1. position the object
2. press record button
3. a key will be set
4. the selection is inverted to select the new key
5. the interpolation is set on the key
6. automatic select all keys in preparation to create the next key

This weird sequence is needed because if you move an object then run any select command the object will move to it's animated position. Clear selection, select all, invert selection all have the same effect of moving it out of place.

The zoom buttons work with the active animation view. There is no clear selection button because it's easy to just click to deselect in the anim view.
The attached installer does not run automatically. Press "Install" after loading in the link editor.
Attachments
KeyInterpolationAutoload.RsObj
(137.11 KiB) Downloaded 75 times
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

Looks good, I'll check it out in the morning
Thank you!

I noticed with your previous version, you could set one channel, like tz, and not the other channels
If you use tS's Select All, it sets all channels
Is that still possible?
When you Record a key using your new version, where is the key being recorded?
Current Frame?

Not sure if you checked out the one, I uploaded
The Zoom to all scripts does something trueSpace cannot do
When you use trueSpace's Zoom, you are not able to get back where you were before, unless you manually do it
User avatar
clintonman
Captain
Posts: 5429
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman »

trueBlue wrote: 31 Jan 2022, 02:54 Looks good, I'll check it out in the morning
Thank you!

I noticed with your previous version, you could set one channel, like tz, and not the other channels
If you use tS's Select All, it sets all channels
Is that still possible?
When you Record a key using your new version, where is the key being recorded?
Current Frame?

Not sure if you checked out the one, I uploaded
The Zoom to all scripts does something trueSpace cannot do
When you use trueSpace's Zoom, you are not able to get back where you were before, unless you manually do it
The set interpolation hasn't changed so you can still set it per channel in the FCurve view, or all channels at once if selected in the DopeSheet view.

The new key is recorded at the current time on the active track.

Your zoom to all script doesn't take you back to where you were before. It switches between zoom to all keys and zoom to the entire timeline. I think it would work better as simple zoom to whole timeline instead of the toggle action.
I think I can add a "GetViewAspect" to the plugin code. If so you can reduce those 3 buttons down to just 1 button.
Clinton Reese

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue »

Cool!
Steps to replicate what I think the Zoom to All scripts do using trueSpace Anim view's context Zoom To Fit All

Go to a channel in the FCurve, and select Zoom To Fit All
Switch to Story and back to FCurve
Post Reply