problem is how to make OpenGl not to cut everything on the z axis that is not on interval (-1,1) and how to set the x and y values more than (-1,1)I haven’t found an explanation on nehe. The glOrtho by itself doesn’t work
Sounds like maybe you are using gluOrtho2D, which has a default of -1, 1 for the z?
You said glOrtho didn’t work. If what your goal is is to use an orthographic projection, it should. Show some code, you possibly are doing something wrong.