creating liquidEffect in iphone
friends I am new in game development programing .And I want to understand the how to give liquidEffect to text 开发者_如何学Python& and to the image in window base application.
thanks in advance
You can't. At least there's no easy way to do so. It would at least involve taking screenshots of the content you'd like to liquify. Then you would need to map the image to a grid which you would warp, or apply some kind of filter to the image.
Either way you would have to do it from scratch. The only hint I can give you is look at cocos2d. It is a game engine, but it features the ripple effect and maybe you could use it for at least the part of your application that requires the effect.
Use Open GL ES.
Convert your image to a texture map. Tile the image rectangle with small triangles. Animate or jiggle the tile coordinates over time, and use Open GL to render the warped textures in animation frame callbacks.
精彩评论