Advertisement

Infinity Far Plane

Started by December 02, 2003 01:07 PM
11 comments, last by Corrail 21 years ago
Just use glLoadMatrixf(), but remember that OpenGL matrices are column-major, not row-major.

Enigma
But how is the depth buffer value computed in this case?
Usually - as I understood it - it is linearly interpolated between nearPlane and farPlane. What happens if farPlane is infinity?
Doesn''t it give weird artifacts?
Advertisement
The interpolation is not linear. So with a far clipping plane of infinity the depth resolution just gets really lousy pretty fast.

Enigma

This topic is closed to new replies.

Advertisement