Crowz
04-18-2012, 05:45 PM
I am having the most unbearable time just making a simple room.
100x100x100
gl.glBegin(GL2.GL_QUADS);/* f1: front */
gl.glNormal3d(-100.0, 0.0, 0.0);
gl.glVertex3d(-100.0,0.0f,-100.0);
gl.glVertex3d(100.0,0.0,100.0);
gl.glVertex3d(0.0,0.0,100.0);
gl.glVertex3d(0.0,0.0,0.0);
gl.glEnd();
I have six of those methods, and no matter how I change them, it does nothing. This is what I see:
http://i.imgur.com/vgeGH.png
100x100x100
gl.glBegin(GL2.GL_QUADS);/* f1: front */
gl.glNormal3d(-100.0, 0.0, 0.0);
gl.glVertex3d(-100.0,0.0f,-100.0);
gl.glVertex3d(100.0,0.0,100.0);
gl.glVertex3d(0.0,0.0,100.0);
gl.glVertex3d(0.0,0.0,0.0);
gl.glEnd();
I have six of those methods, and no matter how I change them, it does nothing. This is what I see:
http://i.imgur.com/vgeGH.png