views:

43

answers:

2

hi to all, friends I am new in game development programing .And I want to understand the how to give liquidEffect to text & and to the image in window base application.

thanks in advance

A: 

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.

Toastor
A: 

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.

hotpaw2
can you send me the sample code.To better understand the concept
There's sample code in some of the Open GL books. None that I can post.
hotpaw2
how can I find that