Ace_Man
03-23-2001, 05:12 AM
Hi,
If I sample a point above, below, left, and right of a point of displacement on a grid, I can get a decent water ripple..
Can any of you give me some code to get a better ripple (not a sqare). I know I should sample more points and weight (whatever that means) them differently, but my grid always blows up if i sample more than 4.
I've seen some demos with pretty nice circular ripples....
I was hoping for this "weighting" code snippet..
Thanks
If I sample a point above, below, left, and right of a point of displacement on a grid, I can get a decent water ripple..
Can any of you give me some code to get a better ripple (not a sqare). I know I should sample more points and weight (whatever that means) them differently, but my grid always blows up if i sample more than 4.
I've seen some demos with pretty nice circular ripples....
I was hoping for this "weighting" code snippet..
Thanks