Page 1 of 1

Animated water effect?

Posted: 2007-08-26T03:16:40-07:00
by defied
Image

Is it possible to create something like this with imagemagick?
Probably use vanishing point, but what about the animation, the water?

http://www.fotline.net/
this website is offering an online service where you upload your picture and it transforms it.

Thank you

Re: Animated water effect?

Posted: 2007-08-27T23:54:08-07:00
by anthony
It is posible, but needs to be worked out.

I would generate a wave of intensities, probably using -fx. then add perspective to that using -distort (very latest IM) and use the result as a displacement map for a 'flipped' image.

That is what I would try for a first attempt, but I have not done so.
At the moment I am too busy improving the distort image warping function
especially for perspectives involving an horizon.

This will probably be read in a few weeks.

If you do try something report it,here. success or failure.

Re: Animated water effect?

Posted: 2007-08-28T02:36:21-07:00
by defied
Thanks for the info Anthony.

After spending some more time looking around on the internet, I found a php class which produces this effect with the GD module.
The class can be downloaded here: http://gifs.hu/phpclasses/show.php?page=20 (Called FXLake)

I'm planning to go through that class and see how the programmer did it, then try to port it so it works with imagemagick.

Re: Animated water effect?

Posted: 2007-08-28T04:40:05-07:00
by anthony
Great -- please let us know what it does!