hey,
after searching for an hour or two on the internet, and in this forum i didn't fond what i was looking for....
so here's my question:
how can i make 3d graphics in OpenGL?
i tryed simply
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
GL11.glPushMatrix();
{
GL11.glTranslatef(width/2, height/2,depth);
GL11.glRotatef(depth, 0, 0, depth);
GL11.glBegin(GL11.GL_QUADS);
{
GL11.glColor3f(1.0f, 1.0f, 1.0f); GL11.glVertex3f(-50, -50f, 0);
GL11.glColor3f(1.0f, 0.0f, 1.0f); GL11.glVertex3f(50, -50f, 0);
GL11.glColor3f(1.0f, 0.0f, 0.0f); GL11.glVertex3f(50, 50, 0);
GL11.glColor3f(0.0f, 1.0f, 1.0f); GL11.glVertex3f(-50, 50, 0);
}
GL11.glEnd();
}
GL11.glPopMatrix();
but it didn't work... that means i could only see what was on the level 0 (z-acsis)...
hope you can help me..