We are about to switch to a new forum software. Until then we have removed the registration on this forum.
The problem I'm having is already stated by someone else here: https://forum.processing.org/two/discussion/1842/opengl-mapping-texture-and-perspective
One of the suggested solutions is to divide the surface into triangle strips to reduce the effect. I tried that solution, it works and it is not what I am interested in, so I'm writing this post. What I'm interested in is the other suggested solution - to get OpenGL to use QUADS, how do I do that exactly?
I'm using Processing 3 and I know I have to do this:
import com.jogamp.opengl.GL; import com.jogamp.opengl.GL2ES2;
and something like this somewhere:
PJOGL pgl = (PJOGL) beginPGL(); GL2ES2 gl = pgl.gl.getGL2ES2();
but I'm not sure how to use that to achieve what I want.