Advertisement
2_2002-2004 Graphics #121044

A Realistic Water Effect

I found many interesting code snippets on Planet Source Code. 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...

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
Upload
原始评论 (3)
从 Wayback Machine 恢复