Mercurial > touhou
diff stageviewer.py @ 10:059ea0ea8d38
Use the original game's near and far planes.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 02 Aug 2011 15:46:47 +0200 |
parents | 668b808b73ef |
children | 548662d70860 |
line wrap: on
line diff
--- 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)