LWJGL - Looking for some clarification and what nots. If I want to do a 2d game, with no 3d at all, then I could use the game loop in another thread here and use the default ortho 1:1 view, draw on screen with 0,0 in the lower left corner? and leave all z’s at 0?
If I want any 3d in it, then I need to go ortho box deeper than 1 (like AlienFlux below)
// Go into orthographic projection mode
GL11.glMatrixMode(GL11.GL_PROJECTION);
GL11.glLoadIdentity();
GLU.gluOrtho2D(0, WIDTH, 0, HEIGHT);
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glLoadIdentity();
GL11.glViewport(0, 0, width, height);
or gluPerspective (fovy, aspect, near, far) or something similar?
M
