Problem with glDepthTest (possibly camera related)

My question is:

I have enabled GL_DEPTH_TEST and set glDepthFunc to GL_LESS.

Yet, when I render the scene, it seems as if objects with a GREATER z value are rendered first (GL_GREATER). And when I try GL_GREATER, nothing appears.

Can the way you set up the projection matrix and model view matrix (camera) affect this?

Oops, I switched farclip and nearclip, resulting in a negative frustum.

I think I just owned myself. :frowning: