I am using OPENGL but when I get a reference to it the the zbuffer is null. The following code is indicative of what I am trying to do and it throws an NullPointerException.
PGraphicsOpenGL p3d = (PGraphicsOpenGL) g;
float depth = p3d.zbuffer[i];
This seems odd as the documentation suggests the default is to have the depth buffer enabled. I also added hint(ENABLE_DEPTH_TEST) to make certain.