Objects no longer flicker when being far (10x improvement). Close objects are not displayed very well.

This commit is contained in:
Quantum 2013-11-21 16:45:38 -05:00
parent 8416ed64e6
commit 1b2bd928cc

View file

@ -224,7 +224,7 @@ class Applet(pyglet.window.Window):
glMatrixMode(GL_PROJECTION) glMatrixMode(GL_PROJECTION)
glLoadIdentity() glLoadIdentity()
# A field of view of 45 # A field of view of 45
gluPerspective(45.0, width / float(height), 0.1, 50000000.0) gluPerspective(45.0, width / float(height), 1, 50000000.0)
glMatrixMode(GL_MODELVIEW) glMatrixMode(GL_MODELVIEW)
def on_mouse_scroll(self, x, y, scroll_x, scroll_y): def on_mouse_scroll(self, x, y, scroll_x, scroll_y):