-- Q: Smoother Keyframe Direction Change Motion

Soniclight wrote on 8/28/2007, 10:30 PM
Before you go to the link of the page I created for this Q, on that page are:

1. An 11 second .wmv file showing a PI-3 star effect I created -- tossed on an adhoc still-pan background (so it looks more cinematic :)

--- I tried to encode a player into the page but was driving myself nuts.
It's only a 1.7 Mb clip, so no big deal to save it locally.


2. Three full size screenshots from Vegas 6 of the 3 and only Pan/Crop keyframes of said effect (a .png sequence, BTW).

--- As you view the clip, you you'll see that the second keframe is where the subtle "direction change" happens. It's too jerky or angular. At this point, all are Linear, 0.000 Smoothness.

--- I've highlighted each keyframe in each image: 1st and 3rd are green, the 2nd "problem" one is red -- the one needing a more graceful shift in direction.

--- I've also pasted in frame shots of each keyframe within each respective Vegas window shown.
_________________________

This is obviously a very simple file but will help me apply improvements to others -- particularly in cases where I have to closely follow an object or person at the right speed so it looks seamless:

--- I.e. if a hand is holding a glowing star such as shown, and the hand and/or person moves in the scene.

(Note: For those of you who use Particleillusion, yes, I know I can do this kind of thing in PI with Beziers.. But certain emitters are harder to deal with and so doing this kind of tracking is better for these when done in Vegas).

Thanks for your input.

______________________

Star Effect Keyframe Q Page

Comments

farss wrote on 8/29/2007, 12:55 AM
Can I suggest buying a book?

I know your resources are limited but this book is a must read. At first it's not going to seem terribly relevant because it deals with a different genre but in the end visual effects all have to follow the same rules to make the effect work.
Get yourself a copy of The DV Rebels Guide. Read from page 132!

To your specific problem.
I've tried to make this work to no avail in the past but just trying again for you (and after reading THAT book) now I understand why I couldn't make it work. You and I are trying to keyframe TWO camera actions using the one set of keyframes, almost certainly doomed to failure. Real camera moves aren't like this either and real objects don't move like it also.

The object moves towards us, reaches a point and then is caught by a hand and the hand moves up with the object. Problem is using one set of keyframes for both the object size and position. Vegas will interpolate both actions with the same amount of smoothing and that's not what you want. You might still be able to pull this off in Vegas using both event pan/crop AND track motion, that way you can apply to different sets of smoothing. Or you could pretty well keyframe every frame, pretty much rotoscoping the whole sheebang.

One tip from the book, think about how you'd shoot the scene if it was real. Where would the camera be, what would the camera do?

Bob.
Grazie wrote on 8/29/2007, 1:18 AM
My opinion?

First off I have reproed the "effect" you are reporting, using a letter "O", and yes at around KF2 there is this markedly abrupt change of direction.

Secondly, Vegas is doing exactly what it should be doing. And that is, in a "linear" way make a change in the direction without any smoothness. However, what I am seeing is that the initial first section of movement has 2 elements going for it:

i) TOWARDS the viewer

and

ii) GROWTH of the item

You have imparted 2 parameters to what is a Linear KF, and as such this is fine.

Then on the 2nd part of the PATH you have a further adjustment to these 2 parameters

iii) BIGGER towards the viewer

and

iv) RISING upwards

Now, in assisting Vegas to do what I want to do I have had to try positioning KF2 further towards KF3. This DOES have the effect of "flattening-out" the abruptness, which I think is being created by the clash of the 2 parameters of growth and direction. There just HAS to be a point that is making this markedly rate of change becoming visible for us. PLUS as there is NO Smoothness I've raised this to 1.000. The OTHER way would be to gradually test for a rate of change in direction - coming forwardness - and lift. Also the 1st section is being achieved "faster" than the 2nd section. My moving KF2 towards KF3 is diluting the strength of the 2 parameter disparity.

As I say, I've had much better results in manipulating KF2's position and altering the smoothness to 1.000 . Try each of these for the "sweet-spot".

What you have may appear as simple, and yes in essence it should appear that way to the viewer too, but it is not as simple in its manipulation.

Interesting,

Grazie

Soniclight wrote on 8/29/2007, 1:25 AM
Thanks, Bob. It's late here in L.A. so brain fading out, and definitely dead to editing. I'll take another look at the book's site and consider it.

Taking in consideration said neurons fade, let me ask you this:

-- You mentioned cameras in plural. Would one be able to make this work better if stacked two of the effects .PNG on their own tracks, cutting each corresponding to the two movements, i.e. Star 1 would be keyframe 1 to 2, then Star 2 keyframe 2 to 3?

So that there would be two "camera" shots of the same effect object and perhaps more adjustable in that I could do some kind of crossover around keyframe 2 to simulate a more so called "graceful" change of motion..

Or maybe this is just not a solution. As I said, time to go to bed, but figured I'd ask.

As to rotoscoping or doing this frame by frame, that's out of the question:

--- I'd turn 90 years old before I'd get this project done due to amount of effects I'm developing. That short star effect alone had 250 frames :)

____________________

Last but not least, something I have been meaning to ask here at this board related to keyframes types, smoothness, etc. which is also relevant to this Q:

--- Is there some online and/or other Vegas guide or tutorial that helps one know when to use what kind (i.e. Linear, Smooth, Slow, etc.) and for what.
So far, I just experiment and choose what looks best, but there must be some science/logic or system to each.

And to all a good night for now :)
Soniclight wrote on 8/29/2007, 1:29 AM
Thanks, Grazie, you posted your reply as I posted my reply to Bob. I read your post but I"m too tired to handle it without mental frame drops, so will have to come back after some sleep :)
farss wrote on 8/29/2007, 3:01 AM
I really doubt you can do this in Vegas using just event pan/crop.

Real world:

Pan camera L to R while zooming in, reverse the actions.
Ease the zoom but not the pan.

In event pan/crop you only need three key frames. Start, mid, end.

Now for the pan the interpolation should be linear i.e. no smoothing.
For the zoom you want the smoothing, we eased the zoom in and out.
Problem is there's only one track for both size and position. Adding more keyframes doesn't help, makes matters worse because they'll have the exact same problem, they affect the interpolation between both size and position.

Your best shot is to use event pan/crop for the size and track motion for the position. This way you can apply different interpolation. Just tried this approach and it works a treat.

Bob.
Grazie wrote on 8/29/2007, 4:01 AM
Y'know what Bob?

I did try TM without P/C. It worked, it was good too.

And I have used a combo of TM with P/C but got meself confused as to what was where and with what and by who?!?? But in the cold light of day, applying your totally fundamental approach to the 2 parameters of ZOOM and PAN and thence using this understanding for the TM + P/C combo is magic!! Great stuff!

Too obvious that I don't see it . . <Bow-Down> <Bow-Down>

Now, how about a kinda 5.1 surround-video manipulation that provides this smooooth result?

Grazie
Soniclight wrote on 8/29/2007, 11:45 AM
Thanks for additional replies.

Also got one from johnmeyer via email which I am asking his permission to post. It has some useful tips,including how to use/not use Track motion due to how it actually works.

I vill be bak :)
Soniclight wrote on 8/29/2007, 1:51 PM
OK, John said I could include his email here at this thread. It may be very useful to others with similar issues.
I've taken the liberty to do some paragraph separations.

He also strongly suggested for me to include a link to a thread on related issue addressing Vegas and such situations.

_________________________________________

RE: Keyframe Moves

Just to reinforce what Bob, Graham, and others are saying in the forum, the main problem is that you want different speeds & movements for the zoom portion of the move than for the X-Y motion.
------------------------------

Link John suggested: Photo Keyframe Pan and Zoom Solution