Better choice for zNear & zFar to fix some artifacts
This commit is contained in:
parent
30562244c7
commit
903564687d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user