Log in

View Full Version : Animated cropping/stacking


PhrostByte
24th July 2010, 10:06
Hey guys, I'm trying to open up with one video, then animate a video sliding out the side to become a splitscreen view. Any ideas?

Gavino
24th July 2010, 10:55
A general way to approach an animation task is to think: "what does the output frame look like at some fraction x into the animation?", where x is between 0.0 and 1.0. You then write a function, parameterised by x, that produces the effect you want (taking care with possible special case requirements at x=0.0 or 1.0). Finally, use Animate() on the function to vary the parameter from 0.0 to 1.0.

Hopefully, that should help to get you started.
We have now reduced the problem to designing the inner function for your specific animation. If you think clearly about your requirements (what you want to achieve), this should be relatively simple. Note that the output frame size cannot change, so as one video 'slides out', the other must shrink correspondingly.

PhrostByte
24th July 2010, 11:42
thanks, that worked beautifully.