To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > General Help > Games

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-06-2006, 02:21 PM   #1
Ray Beez
Senior Member
 
Ray Beez's Avatar
 
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.
Ray Beez is offline   Reply With Quote
Old 06-06-2006, 02:29 PM   #2
WilloughbyJackson
Patron Saint of Beatings
 
WilloughbyJackson's Avatar
 
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)...
WilloughbyJackson is offline   Reply With Quote
Old 06-06-2006, 02:33 PM   #3
Ray Beez
Senior Member
 
Ray Beez's Avatar
 
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.
Ray Beez is offline   Reply With Quote
Old 06-06-2006, 02:57 PM   #4
WilloughbyJackson
Patron Saint of Beatings
 
WilloughbyJackson's Avatar
 
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...
WilloughbyJackson is offline   Reply With Quote
Old 06-06-2006, 08:26 PM   #5
iopred
Heli Attack!
 
iopred's Avatar
 
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.
__________________
Christopher Rhodes
squarecircleco.
iopred is offline   Reply With Quote
Old 06-06-2006, 08:52 PM   #6
mr_malee
M.D.
 
mr_malee's Avatar
 
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
__________________
lather yourself up with soap - soap arcade
mr_malee is offline   Reply With Quote
Old 06-06-2006, 08:57 PM   #7
iopred
Heli Attack!
 
iopred's Avatar
 
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).
__________________
Christopher Rhodes
squarecircleco.
iopred is offline   Reply With Quote
Old 06-06-2006, 08:59 PM   #8
mr_malee
M.D.
 
mr_malee's Avatar
 
Join Date: Dec 2002
Location: Shelter
Posts: 4,039
right, so everything that is greater than 00 alpha will not displace?
__________________
lather yourself up with soap - soap arcade
mr_malee is offline   Reply With Quote
Old 06-07-2006, 11:48 AM   #9
Ray Beez
Senior Member
 
Ray Beez's Avatar
 
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.

:-)
Ray Beez is offline   Reply With Quote
Old 06-07-2006, 03:15 PM   #10
iopred
Heli Attack!
 
iopred's Avatar
 
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.
__________________
Christopher Rhodes
squarecircleco.
iopred is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > General Help > Games

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:51 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.