Hi there,
I'm experimenting with modifing textures in OpenGL in a cocos2s environment: I'm rendering a grid from triangles (gl_triangle_strips + texture coordinates) to display an image on the screen.
The user can modify the texture by touching and moving on the screen (water ripples, etc.). For this operation, I modify the texture coordinates of the grid. In most cases this looks nice (fig. 2), but for some directions there are ugly "stairs" in the texture (see fig. 1): http://dev.nulldesign.de/fluids.png
I'm pretty sure that I would expect stairs everytime I modify the texture, because the coordinates get distorted a lot. So I'm just wondering: Is there a better way to modify the texture or somehow smooth the result?
Cheers,
Lars