|
|
|
#1 |
|
Senior Member
Join Date: Jun 2000
Posts: 2,692
|
Need a water ripple effect
Any of you know where I can get source for a displacement map based water ripple effect? I need it for a project (due monday). Don't have time to learn to do it myself. I can pay a few bucks for it if needed.
|
|
|
|
|
|
#2 |
|
Patron Saint of Beatings
Join Date: Nov 2000
Location: Ro-cha-cha-cha, New York
Posts: 1,992
|
Are you looking for something like this?
http://www.richnetapps.com/blog/inde...&c=1&tb=1&pb=1 Admittedly, I've got a graphic hybrid version if you're interested: http://www.deviantart.com/view/22945320/ Or are you looking for a drop of water hitting a pond causing a ripple type effect? (Which I don't have but probably could do pretty easily)... PM me if interested. (I won't be able to send it until tonight though)... |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2000
Posts: 2,692
|
Hmmm, yours might do if I start it from zero and increase the amount of ripple, but I'm looking more for one that is circular... Like something touching a calm pond.
|
|
|
|
|
|
#4 |
|
Patron Saint of Beatings
Join Date: Nov 2000
Location: Ro-cha-cha-cha, New York
Posts: 1,992
|
Multiple ripples or one ripple for every click?
Either way, I might be able to help you still. (Of course, I won't be in front of a copy of Flash 8 until 5:00 pm EST today) Let me know if you want me to take a stab at it... |
|
|
|
|
|
#5 |
|
Heli Attack!
Join Date: Jun 2003
Location: Sydney, Australia
Posts: 923
|
http://board.flashkit.com/board/show....php?p=3636909
I'm sure if you changed the MC I used to a radial blur, it would get the effect you want. |
|
|
|
|
|
#6 |
|
M.D.
Join Date: Dec 2002
Location: Shelter
Posts: 4,039
|
yeah like iopred said, create a radial gradient movieclip, loop its animation so it seems seamless and on its enterFrame, draw the frame into a bitmapData object which displaces your water movieclip, depening on your setup i'd go with a black -> alpha black gradient and a neutral gray background and choose 1,1 for the colour components, 5-10 for the scaling. I'm sure you could figure out the placement of the filter
PS i don't mean to hijack the thread but could anyone explain the alpha color component in a displacement filter, couldn't get it to work, probably because i didn't understand it |
|
|
|
|
|
#7 |
|
Heli Attack!
Join Date: Jun 2003
Location: Sydney, Australia
Posts: 923
|
It takes the data from the alpha channel of the source bitmap, whereas the other types use the red/green/blue channel.
alpha wont work if the bitmap isn't a transparent bitmap (obviously). |
|
|
|
|
|
#8 |
|
M.D.
Join Date: Dec 2002
Location: Shelter
Posts: 4,039
|
right, so everything that is greater than 00 alpha will not displace?
|
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jun 2000
Posts: 2,692
|
Thanks all. Willoughby came through like a champ! I will post the results when I've applied it to the actual project.
:-) |
|
|
|
|
|
#10 |
|
Heli Attack!
Join Date: Jun 2003
Location: Sydney, Australia
Posts: 923
|
No Malee, it works like the other channels. 128 alpha is stationary 0 is full displacement, 255 is full displacement the other way.
Although flash seems to handle alpha in 100 sometimes, and 0-1f sometimes too. |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|