如何对TImage或任何东西产生水分

如何对TImage或任何东西产生水分

本文介绍了如何对TImage或任何东西产生水分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我刚刚在我的电脑上安装了Tortoise git。而且我对它的关于页面的水效果感到很安静。





尝试将鼠标光标移动到乌龟图片上从龟开始 - 关于



它更像是在水上玩弄手指。



有没有人知道如何在Delphi中做这种水的效果?

解决方案

请参阅Leonel Togniolli的。



该算法在这里被描述为由弗朗索瓦和弗朗索瓦提及的源代码中的引用。



Leonel的实现部分基于gamedev文章

efg还有一个名为Ripple Project的Delphi示例,屏幕截图如下所示。




OK, I just installed a Tortoise git in my PC. And I'm quiet amuse about the water effect from its about page.

try to move your mouse cursor on the turtle picture from tortoise GIT - About

its more like we are playing out finger on a water.

Does anyone know how to do make that kind of water effect in Delphi ?

解决方案

See Leonel Togniolli's "Water Effects" at efg's lab.

The ripple effect is based on 2D Water Effects in December 1999 Game Developer Magazine Article.

The algorithm is described in here 2D Water, as mentioned by François and as a reference in the source code.

Leonel's implementation is partly based on the gamedev article the-water-effect-explained by Roy Willemse. Here is also pascal code.

There is one more Delphi example at efg's called "Ripple Project", a screen shot is shown below.

这篇关于如何对TImage或任何东西产生水分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 03:25