Skip to main content
GameDev.net gamedev.net
🔒 Locked

terrain rendering glitches

Started by sideh Oct 9, 2002 at 1:07 PM 2 replies 450+ views
Original Post
sideh
sideh
hello, I'm rendering some terrain using triangle strips. Now i think the best way to describe the problem is to show you: from far away it looks broken up close it looks fine This happens regardless of whether i texture the terrain or not. any help appreciatted. cheers, rich [edited by - sideh on October 9, 2002 2:09:25 PM] [edited by - sideh on October 9, 2002 2:09:45 PM]
yzzid
yzzid
This looks like a depth buffer problem. What I think is happening is your depth buffer isn''t large enough and what you are seeing is a result of it.

If you are using a 16 bit depth buffer try bumping it up to 32 bits.

-dizzy
-dizzyGame Institute InternPlease rate me. :)
Brother Bob
Brother Bob
And/or push the near clip plane out as far as you can.
sideh
sideh
you rock

nice one guys, it worked.

setting the depth buffer to 32 made no difference but setting the near clip plane to 4 (it was at 0.1) sorted it.




[edited by - sideh on October 9, 2002 4:46:01 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.