Stuart Hall
11-29-2010, 05:57 PM
Hi,
Total OpenGL user here, I am trying to use it in an iPhone project. Basically I want to let a user skew an image.
I've followed the tutorial from here:
http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-6_25.html
and get:
http://dl.dropbox.com/u/3392551/opengl/normal.png
which converts to:
http://dl.dropbox.com/u/3392551/opengl/skew.png
How can I get it to skew without the fold in the middle?
I'm guessing it's due to GL_TRIANGLE_STRIP, but not sure what approach to take next. Do I make a lot of small triangles or is there an easy way?
Thanks
Total OpenGL user here, I am trying to use it in an iPhone project. Basically I want to let a user skew an image.
I've followed the tutorial from here:
http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-6_25.html
and get:
http://dl.dropbox.com/u/3392551/opengl/normal.png
which converts to:
http://dl.dropbox.com/u/3392551/opengl/skew.png
How can I get it to skew without the fold in the middle?
I'm guessing it's due to GL_TRIANGLE_STRIP, but not sure what approach to take next. Do I make a lot of small triangles or is there an easy way?
Thanks