I'm working on an iphone game. In that i had to produce water ripples. I dont know how to get that. I heard thatit can be done with openGL. I am very new to this concept. Can any one guide me?
+1
A:
jk:
z=sin(x)+cos(y)
More seriously, doesn't the Quartz Composer basically do ripples for you as one of the effects layers? Or was that announced only for the iPhone 3.0 SDK?
dlamblin
2009-03-20 05:47:48
That's a really expensive routine. It would absolutely kill OpenGL in a game. I'm guessing he wants a decent water effect, which means old-school texture mapping tricks.
Pestilence
2010-01-19 00:58:38
Pardon; I know. I was joking.
dlamblin
2010-01-20 03:09:02