0

Possible Duplicate:
How do I make a water effect view with openGLES on the iPhone?

I am developing a project in which wave animation is required.I have searched a lot in Google to get such animation but of not use.Can any one suggest me a logic to implement this animation and which framework should i use open gl or cocos 2D thanks in advance

Community
  • 1
  • 1
rahul raj
  • 597
  • 1
  • 4
  • 15
  • Got an example anywhere of what you mean by 'wave'? i.e. youtube video etc? – deanWombourne Sep 13 '12 at 12:19
  • It's hard to imagine without screenshot. Is it from top-view or in perspective, or horizontal orthogonal view? – brigadir Sep 13 '12 at 15:00
  • In addition to the suggestions in the above-linked question, you probably want to look at Apple GLCameraRipple sample code to see how to perform vertex displacement to simulate a water ripple. – Brad Larson Sep 13 '12 at 16:10

1 Answers1

0

Read the "grass movement" part of this tutorial, might give you some ideas.

lzl
  • 469
  • 4
  • 10