Timeline for Java OpenGl Rotating Cube Problem!
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2012 at 9:29 | comment | added | moeabdol | yes, i have added them at init(). here are the content of my init gl = drawable.getGL().getGL2(); glu = new GLUgl2(); gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f); gl.glEnable(GL2.GL_TEXTURE_2D); gl.glTexEnvi(GL2.GL_TEXTURE_ENV, GL2.GL_TEXTURE_ENV_MODE, GL2.GL_DECAL); gl.glShadeModel(GL2.GL_SMOOTH); gl.glClearDepth(1.0f); gl.glEnable(GL2.GL_DEPTH_TEST); gl.glDepthFunc(GL2.GL_LEQUAL); gl.glHint(GL2.GL_PERSPECTIVE_CORRECTION_HINT, GL2.GL_NICEST); | |
Apr 23, 2012 at 9:09 | history | answered | sam hocevar | CC BY-SA 3.0 |