Give us distortion in Flash Player 9!
Well as we all know the Bitmap Data API is one of the most welcome additions in the new Flash Player. Today myself and another developer I work with here, Mike Martin, took it upon ourselves to attempt to create an effect that I have wanted to be able to produce for years in actionscript:
In the above example numbers are between 0-100. 100 being normal and o being totally sideways. Check the half baked perspective!
Mike actually came up with the original idea in Flash 7 and duplicating MovieClips and scaling, so we tried to port the idea over to Flash 8 and the BitmapData API.
Truth is, it is cool but not really that impressive, and we still have a long way to go with it, for example we only are using it on 1 axis right now.
The bummer is that in order to do this, you need to do some processor intensive pixel pushing. I have managed to get fast animations going with it, but not without prerendering all the frames in the background then running an enterframe to play it. Yuck.
Anyways, what I really wish for,(and have since Flash 5) is a MovieClip distortion API. The Bitmap controls in Actionscript are too slow to really allow any hardcore pixel pushing, so why not let the Flash Player handle it.
this is exactly what I would like to see:
The result of that operation would be a distortion that would allow you to do perspective, skews, whatever.
All that Viewport 3D stuff that Microsoft showed off for sparkle was really just this exact thing with a cool client-side interface.
Please give us real distortion controls! I would much prefer that over a Displacement Map.