# HG changeset patch # User Thibaut Girka # Date 1312292807 -7200 # Node ID 059ea0ea8d3844d16c29f54235c010d573587e66 # Parent 668b808b73efb15055f1867668e240d8e5958b52 Use the original game's near and far planes. diff --git a/stageviewer.py b/stageviewer.py --- a/stageviewer.py +++ b/stageviewer.py @@ -138,7 +138,7 @@ def main(path, stage_num): # Initialize OpenGL glMatrixMode(GL_PROJECTION) glLoadIdentity() - gluPerspective(30, float(window.get_width())/window.get_height(), 20, 2000) + gluPerspective(30, float(window.get_width())/window.get_height(), 101010101./2010101., 101010101./10101.) glHint(GL_FOG_HINT, GL_NICEST) glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST)