View Single Post
Old 9th May 2008, 05:07   #15  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
Updated KenBurnsEffect() and ZoomBox()

KenBurnsEffect() Changes:
  • You only have to know 3 out of the 4 points for the 2 boxes. Can omit X2 or Y2 but not both. Set X2 to X1, or Y2 to Y1, in order for this to auto calc the appropriate missing point, while keeping the Output Aspect Ratio in mind. (Very Helpful)
  • Changed some variable names.
  • Fixed a Bug in the ZoomY if x and y zooms where different.
  • Speed Boost!

ZoomBox() Changes:
  • Located Here
  • Use of ResizeKAR makes this behave much better when it is Animated.

With these changes, KenBurnsEffect() is semi usable, before it was very hard because of all the aspect ratio calculations.
mikeytown2 is offline   Reply With Quote