Underwater could be done with displacement masks / perlin noise. Haven't
done personally, but grant skinner had an amazing example at fitc so try
googling for that. Also, check his experiments site and maybe hit his blog
for some source.

http://galleryincomplet.com
http://gskinner.com/blog

As for mapping to cylinder, I have been trying to get a similarly difficult
skew to work. The perspective skew. Where the front of the image is taller
than the rear. If I get some time I will try to write something up, but I
suspect someone has already done it. The trouble is trying to alias
neighboring pixels without killing the quality of the image..

A simple cylinder may be easy, with the bitmap data class. You would
basically want to loop through the rows (horizontal cylinder) or columns
(vertical cylinder) of pixels and dup that to a 1xrowcount  bitmap data
object and add it an onstage one, perhaps with varying alpha to depth.

Aaron

On 6/1/06 4:48 PM, "edwin" <[EMAIL PROTECTED]> wrote:

> How would I  wrap an image or movieclip around a cylinder using
> actionscript? I thought of doing it by making multiple copies of an
> image and using a lot of masks, but perhaps there is an easier way to
> do this. I would also be interested in doing a kind of "underwater"
> distortion effect on an image, dynamically.
> Thanks,
> -edwin
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to