Glitches/disappearing vertices
Hi, I have been following Riemer's tutorials for DirectX9, I went through the C# and the C++ versions, both suffering from the same problems.
At certain angles, the landscape glitches, part of it is drawn behind stuff that is not suppose to be in front of it.
I can illustrate with a screenshot if necessary and also provide the code used to render it.
Does anyone else have this issue or know what causes it / how to fix it?
Thankyou!
Hm.. is there any way to get around it then? I'd like to be able to display it all at once because it's a preview of the landscape.
Quote:Original post by DanzenceYes.
Hm.. is there any way to get around it then? I'd like to be able to display it all at once because it's a preview of the landscape.
Enable depth buffering.
Change the far clipping plane.
Study the code you are copying more carefully.
http://msdn.microsoft.com/en-us/library/bb976071.aspx <-read
And a screenshot would help, incase it's something else.
And a screenshot would help, incase it's something else.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement