Better choice for zNear & zFar to fix some artifacts

This commit is contained in:
bkuker 2013-01-06 19:39:36 -05:00
parent 30562244c7
commit 903564687d

View File

@ -426,7 +426,7 @@ public class RocketFigure3d extends JPanel implements GLEventListener {
gl.glMatrixMode(GLMatrixFunc.GL_PROJECTION);
gl.glLoadIdentity();
glu.gluPerspective(fovY, ratio, 0.05f, 100f);
glu.gluPerspective(fovY, ratio, 0.1f, 50f);
gl.glMatrixMode(GLMatrixFunc.GL_MODELVIEW);
redrawExtras = true;