Thanks for the quick reply!
My primary talent is as an artist, and as a mathematician I’m completely inept. Sorry in advance for the stupidity that will no doubt follow.
My matrix looks like this (it’s a double array):
1, 0, 0.5*Math.cos(45), 0,
0, 1, 0.5*Math.sin(45), 0,
0, 0, 0, 0,
0, 0, 0, 1
Then in my render method, I do this:
GL11.glMatrixMode(GL11.GL_PROJECTION);
DoubleBuffer mat = BufferUtils.createDoubleBuffer(16);
mat.put(Useful.m).flip();
GL11.glLoadMatrix(mat);
The problem is, there’s a lot of what appears to be z-fighting. I think this makes sense, because that matrix I loaded pretty much gets rid of depth entirely, right? As soon as I set the number at 3,3 to 1, for instance, everything disappears, though.
The image appears too wide, but I guess that’s because the projection matrix doesn’t take the window’s dimensions into account or something? I really don’t know, I’m doing way more guesswork here than I’d like. :S
What am I doing wrong?
EDIT: I somehow forgot to mention that the scene doesn’t resemble cabinet projection at all.