VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A Realistic Water Effect

Reiner Rottmann  (1 Submission)   Graphics   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

I found many interesting code snippets on vbcoders.com. And I think it is time to make a contribution to this great community.
Although there are already a few submissions available that simulate an water effect, they all seem not very realistic to me. This submission is an attempt to translate the original water effect directly to Visual Basic. Although this effect still needs some improvement on its own.
It calculates the spreadout and the damping of an simulated wave and renders the corresponding reflexions on the water. And so it looks like there is a water surface on top of the picturebox.
The sourcecode is still a work in progress and thus there are some limitations: a) the rendering speed needs to still improvement, b) the mousemove effect is still disabled due to the slow rendering and c) the effect is still not 100% correct. Vote if you think I would deserve it and please let me know your suggestions how to further improve this amazing effect...

Side Effects
The source code is still a work in progress. So the program may include some unknown bugs. Sometimes the program crashes due to an read error on some mem location.

Rate A Realistic Water Effect (8(8 Vote))

Download A Realistic Water Effect

A Realistic Water Effect Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters