Excellent. I'll try it.
Thanks.
Thanks.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuwhile (loop) {
// do jPCT things
world.renderScene(buffer);
world.draw(buffer);
buffer.update();
// do lwjgl things
GL11.glBegin(GL11.GL_LINES);
GL11.glVertex2f(10, 10);
GL11.glVertex2f(50, 50);
GL11.glEnd();
buffer.displayGLOnly();
Thread.sleep(10);
}
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glPushMatrix();
GL11.glLoadIdentity();
GL11.glMatrixMode(GL11.GL_PROJECTION);
GL11.glPushMatrix();
GL11.glLoadIdentity();
GL11.glOrtho(0, 1, 1, 0, 0.1, 100);
GL11.glColor3f(255, 255, 255);
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glBegin(GL11.GL_LINES);
GL11.glVertex3f(0.0f, 0.0f, -1f);
GL11.glVertex3f(1.0f, 1.0f, -1f);
GL11.glEnd();
GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glMatrixMode(GL11.GL_PROJECTION);
GL11.glPopMatrix();
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glPopMatrix();
Java version is: 1.6.0_11
-> support for BufferedImage
Version helper for 1.2+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
mode: 1280/800/16/60
mode: 1280/768/16/60
mode: 512/384/32/60
mode: 1024/768/32/60
mode: 800/600/16/60
mode: 320/240/16/60
mode: 640/400/16/60
mode: 400/300/32/60
mode: 1280/720/16/60
mode: 1280/600/16/60
mode: 640/480/32/60
Software renderer disposed
Driver is: nv4_disp/6.14.11.6921 on NVIDIA Corporation / GeForce 7800 GTX/PCI/SSE2
GL_ARB_texture_env_combine supported and used!
FBO supported and used!
OpenGL renderer initialized (using 4 texture stages)
Page created in 0.033 seconds with 12 queries.