View Single Post
Old 5th June 2008, 10:43   #69  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
Played around with the idea of emulating a multiplane camera. If i can make a function based off of starting and ending "depth" of every clip, and let the code calc the zooms and pans, would it be worth it? Anyway, here are the Pic's I used and the corresponding code. I call this Paradise Drums...




Code:
Width = 640
Height = 480
Frames = 199


Background = ImageReader("waterfall12803cboflxu2rj8.jpg", pixel_type="RGB32").Trim(0,Frames).KenBurnsEffect(width=width, height=height, startAlign=5, endAlign=5, endZoomFactor=120, endPanY=100)
DrumA = ImageReader("drumkitan5.png", pixel_type="RGB32").Trim(0,Frames).KenBurnsEffect(startAlign=-7, startZoomFactor=50, endAlign=-7, endZoomFactor=60, endPanX=140, endPanY=-140, width=width, height=height)
DrumB = ImageReader("55gallonng2.png", pixel_type="RGB32").Trim(0,Frames).KenBurnsEffect(startAlign=-9, startZoomFactor=50, endPanX=-360, endPanY=-360, endAlign=-9, endZoomFactor=120, width=width, height=height)

Background = Background.Animate(0,Frames-20,"BigBlur",1.58,-0.05)
DrumA = DrumA.Animate(0,Frames-100,"BigBlur",1.58,0.0).Animate(Frames-99,Frames,"BigBlur",0.0,1.58)
DrumB = DrumB.Animate(0,Frames-100,"BigBlur",0.0,1.58)

Layer(Background, DrumA)
Layer(last, DrumB)


Function BigBlur(clip C, float x)
{
c
return Blur(x).Blur(x).Blur(x).Blur(x).Blur(x).Blur(x).Blur(x).Blur(x).Blur(x)
}
Blur is unreliable if you chain it too many times, thus i think a reside down and back up will probably be the best option...

Got idea from here
http://www.reiji.net/ff-e/features.html


Also I experimented with Reform, but its not sub pixel accurate, image jumps around... DeBarrel works when Animated, but the change vs time spent isn't worth it.
mikeytown2 is offline   Reply With Quote