talyrond

12-12-2006, 09:12 AM

I am reading around the subject before I begin programming and I would just like to clear up a couple of points

So far I have established that I need the near and far clipping planes as close together as possible to ensure Z buffer accuracy.

What confuses me is that using gluLookAt I can place the eye anywhere I want, such that can a have:

negative near/negative far plane

negative near/positive far plane

positive near/positive far plane

All with the same distance between the near and far plane.

So does it make any difference to the end result?

I read that you should push the near plane as far out as possible, does this mean to the actual object being drawn or make the near and far plane value as large as possible by placing the eye way back in the Z?

Any help much appreciated

Julian

So far I have established that I need the near and far clipping planes as close together as possible to ensure Z buffer accuracy.

What confuses me is that using gluLookAt I can place the eye anywhere I want, such that can a have:

negative near/negative far plane

negative near/positive far plane

positive near/positive far plane

All with the same distance between the near and far plane.

So does it make any difference to the end result?

I read that you should push the near plane as far out as possible, does this mean to the actual object being drawn or make the near and far plane value as large as possible by placing the eye way back in the Z?

Any help much appreciated

Julian