As far as I understand, the value of near is always greater than far value. (near 1f, far 0.4f here).
Gl.glFrustum(-1f, 1f, -1f, 1f, 1f, 0.4f);
since the Z axis is directed towards us, and the further away we are from it, the smaller the value. I hope I got that right?
my three-dimensional figure lies within the values 0.3 and -0.4 on the z axis (when we draw a figure, the z axis is directed away from the observer, not towards him, right?)
I set the following values for glfrustum and when I started the program, I didn't see anything on the screen. But when I turned the figure relative to the x axis by 20 degrees, I began to see it(I turned the figure towards me). That is, I set near and far, and the figure did not fall into the field of view, but when I turned it a little, it began to fall into this view area, right?
Gl.glFrustum(-1f, 1f, -1f, 1f, 1f, 0.4f);
and why is it that when I set the value 0 for far, I see the figure in a normal state, as if I didn't use glFrustum at all?
Gl.glFrustum(-1f, 1f, -1f, 1f, 1f, 0.0f);
please tell me if I made a mistake somewhere in my reasoning. Most of all, I am concerned about the question of whether, when applying glFrustum(), the z-axis is now directed towards the observer, and not away from him?