jsada
2nd April 2007, 06:15
After struggling with venerable Zoom.dll & Spline, I know I need help.
I tried Animate with BicubicResize, but it doesn't give as smooth motion as Zoom.
I have a picture with row of people standing.
I would like to Zoom to the face of person on left and pan accross all the faces, and come back to the first face, and Zoom out. My Clip is a Image loop Resized to (720x480).
Here is what I have been trying,
srcx = "spline(n, sf-1,360, sf,360, ef,240, ef+1,240, false)"
srcy = "spline(n, sf-1,240, sf,240, ef,240, ef+1,240, false)"
factor="spline(n, sf-1,1, sf,1, ef,8, ef+1,8, false)"
zoom(srcx="n<10 ? width/2 : n>20 ? spline(n, sf-1,360, sf,360, ef,360, ef+1,360, false) : spline(n, sf-1,360, sf,360, ef,240, ef+1,240, false)", srcy="n<10 || n>20 ? height/2 : spline(n, sf-1,240, sf,240, ef,240, ef+1,240, false)", factor="n<10 || n>20 ? 1 : spline(n, sf-1,1, sf,1, ef,8, ef+1,8, false)")
A few varied examples with some explation of Spline would really add lot of value to zoom.txt (besides what it already has). A little more info for how to use srcx,srcy and dstx,dsty, and height, width would go a long way.
thanks
I tried Animate with BicubicResize, but it doesn't give as smooth motion as Zoom.
I have a picture with row of people standing.
I would like to Zoom to the face of person on left and pan accross all the faces, and come back to the first face, and Zoom out. My Clip is a Image loop Resized to (720x480).
Here is what I have been trying,
srcx = "spline(n, sf-1,360, sf,360, ef,240, ef+1,240, false)"
srcy = "spline(n, sf-1,240, sf,240, ef,240, ef+1,240, false)"
factor="spline(n, sf-1,1, sf,1, ef,8, ef+1,8, false)"
zoom(srcx="n<10 ? width/2 : n>20 ? spline(n, sf-1,360, sf,360, ef,360, ef+1,360, false) : spline(n, sf-1,360, sf,360, ef,240, ef+1,240, false)", srcy="n<10 || n>20 ? height/2 : spline(n, sf-1,240, sf,240, ef,240, ef+1,240, false)", factor="n<10 || n>20 ? 1 : spline(n, sf-1,1, sf,1, ef,8, ef+1,8, false)")
A few varied examples with some explation of Spline would really add lot of value to zoom.txt (besides what it already has). A little more info for how to use srcx,srcy and dstx,dsty, and height, width would go a long way.
thanks