Depth test & Z Buffering

Started by
0 comments, last by guessKUO 22 years, 7 months ago
Hi, I am kinda confused by the difference of depth test in OGL & Z-Buffering. Enabling the depth test in OGL will avoid drawing hidden polygons. So does this mean I don''t need to implement a polygon sorting algorithm if I have enabled the depth test? thanx Oscar
Advertisement
Depth test == z-buffer as far as I know (the z-buffer is the area in memory that enables the technique of depth-testing).

quote:

So does this mean I don''t need to implement a polygon sorting algorithm if I have enabled the depth test?



You got it.

"If consquences dictate our course of action, it doesn''t matter what''s right, it''s only wrong if you get caught."
- Tool
"There is no reason good should not triumph at least as often as evil. The triumph of anything is a matter of organization. If there are such things as angels, I hope that they're organized along the lines of the mafia." -Kurt Vonnegut

This topic is closed to new replies.

Advertisement