DistortImage
by Ruben
Today I had a little chat with Thomas Pfeiffer, who created the Sandy 3D engine.
A while ago I came across his AS2 image-distortion class. Remembering that while implementing hardback-pageflip functionality in my Book component, I decided to port the class to AS3.
Thomas was so kind to give me permission to publish my AS3 version of his class on my blog, so here it is:
UPDATE:
Tam Ho posted this link to a Flash CS3 example in the comments, here it is:
flashteam.com.au/dev/DistortImageAS3FlashCS3.zip

Comments (read older or show 33 trackbacks)
Trackbacks:
Hi Sunny,
This class will only work with bitmaps. You could create a a new bitmap and draw a movieclip into it if you had a movieclip that wasn’t animating.
If you want to really get adventurous you can try to draw a frame of the movieclip to the bitmap on enterframe…I’m not sure that would work very well though.
quote from Sunny:
It is possible with movies. But not like this way.
Regards
[...] DistortImage Class ???????????? [...]
You just saved my life
Thanks !
Flo
[...] to Flash I have added a new post to the Lab section. Recently I have been experimenting with Ruben Swieringa‘s ImageDistortion class, and I have put up a couple of examples which you can play with. [...]