I have a trouble with depth values obtained from z-buffer.
I have a plane surface in a blender project and I use perspective viewing. If I plot in matlab the values in the z-buffer I get a curve surface and not a plane. I noticed that if I use orthographic viewing it doesn’t happen.
Does somebody know why the plane become a curve surface and how i can obtain a plane using perspective viewing?