>
> So am I right in thinking that minZ relates to the smaller dotted
> rectangle in the diagram and maxZ relates to the larger one


yes.


> Also, are the minZ and maxZ values relative to world co-ordinates? so
> if you move the camera around do you have to set new values for minZ
> and maxZ each time?
>
> no

 The max and min Z are relative to the camera.

Think of maxZ as distance from the camera position along the cameras forward
vector(what its looking at).

So if you had your camera at 0,0,1000 looking at the origin
and clipping.maxZ set at 1000, everthing beyond the origin would be clipped.

If you don't set max/minZ they are default at +-infinity

Reply via email to