--- a/src/glrenderer.cpp Sun Apr 01 15:32:30 2018 +0300 +++ b/src/glrenderer.cpp Mon Apr 02 10:33:17 2018 +0300 @@ -341,7 +341,7 @@ glViewport (0, 0, width, height); glMatrixMode (GL_PROJECTION); glLoadIdentity(); - gluPerspective (45.0f, (double) width / (double) height, 1.0f, 10000.0f); + gluPerspective (45.0f, (double) width / (double) height, near, far); glMatrixMode (GL_MODELVIEW); // Unfortunately Qt does not provide a resized() signal so we have to manually feed the information.