I'd rather use a selection area on the timeline but, yes, it could go between two keyframes. One issue is that I'm moving it initially to a new location so that would no longer be able to happen. And if the ending position does not match that last keyframe, do you overwrite the last keyframe or let it jump to that location? And, in my tests, I'm actually removing all keyframes before I start. So... a lot more questions! 😁
@xcxz-a The first keyframe really isn't an issue. The last one is as the ending position (after the bouncing) may not be the same position as that last calculated keyframe.
Naturally, the first keyframe can be used as a starting point. The last keyframe could be in a totally different location to the ending of generated keyframes unless we overwrite that ending position too.
As far as the "smoothness" settings, are you really going to see a difference over 1 frame? The script is putting a new keyframe on EVERY frame? I can see wanting to adjust the first and last keyframe potentially but would it matter if those two were generated keyframes or originally placed keyframes?
We need to come up with the actual end goal of what you're trying to achieve here. We've done a bouncing ball which is cool but not very useful. We've done a bouncing in "transition" which could be useful. What we now need to do is make this useful. Perhaps if I saw a desired "end result" of what you're wanting to achieve it would help me better understand where we hare headed here.
@xcxz-a, as we don't know where the last keyframe will end up, it makes more sense for it to end up where it ends up instead of trying to force it to a different location.
Back to the original question - what's the "end goal" here. We've done some "proofs of concept" but we still have no "end goal". I thought my second video would, somewhat, be what you were looking for as an "end goal" as it creates a bouncing transition. You can clearly see the video behind even during the bounces. I need to know the target we are looking to achieve here.
So can you give me a VEGAS timeline that would show how this "transition" is to be applied so I can understand what you have in your mind as to how this should work? At this point, I've shown you a transition working but it's obviously, not the transition you're looking for. So if you can show me what it is you're looking for then I would have a better target to understanding what you're trying to achieve with this.
@xcxz-a If you want the functionality of Tweener, which is part of a script for VEGAS, why not just purchase Tweener? What's the point in reinventing the wheel?
If you're wanting a specific case that you do often, show me that specific case so I can understand what you're trying to accomplish. At this point, I feel like I'm swimming upstream with a blindfold on.
In the case of what I've done so far, you're not interpolating various curves between the two keyframes. It's simply adding a bunch of keyframes - one for every frame - so there is no time between the keyframe for interpolation. Your function is cool and creates a nice smooth bounce but there's no interpolation going on at all.
If you want, I'll do a tutorial on how I achieved the bouncing transition in and/or the bouncing ball (the second and third videos).
@xcxz-a If you want the functionality of Tweener, which is part of a script for VEGAS, why not just purchase Tweener? What's the point in reinventing the wheel?
@jetdv Tweener can't work on OFX keyframes, it can only work on limited places like pan/crop.
If you want, I'll do a tutorial on how I achieved the bouncing transition in and/or the bouncing ball (the second and third videos).
@xcxz-a, create a dummy project showing what you are trying to do with the OFX keyframes. I need to see a concrete example to get my head around what you're wanting to accomplish. It might also be worth contacting Vegasaur to see if they might add OFX keyframes as an option - once again, it really depends on what you're trying to keyframe. So some concrete examples would be really helpful.
@jetdv Crazy 👍If these keyframe points could be generated between any two OFX keyframes, then its usefulness would be greatly increased! This can realize @Selina's dream! 👍 I believe there must be some way to transform the functions according to the value of the first & last keyframe, so that they match.
In addition, we can find more functions here besides Bounce.https://easings.net/
@xcxz-a, I think your video from yesterday showed me what I wanted to see. What I was really looking for was a project (VEG) file with an event and an effect on it showing what you were wanting to use as the "beginning" and "ending" locations. I'll play some more.
Here there are two keyframes set (beyond the initial keyframe). This test directly accesses keyframes "1" and "2" which are the second an third keyframes. The "default" 0 keyframe is set to center screen so between the first two keyframes it will move from center to the location toward the upper left.
After the script is run you can see the keyframes added between the two initial keyframes but none before or after those two keyframes and it moves from the first keyframed location to the second keyframed location.
@jetdv This result looks very close to being practical! 👍👍 It can insert function curves in any two OFX keyframes, similar to what @Selina demonstrated.