Sign in to follow this  
Danzence

Glitches/disappearing vertices

Recommended Posts

Danzence    122
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!

Share this post


Link to post
Share on other sites
Daaark    3553
Quote:
Original post by Danzence
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.
Yes.

Enable depth buffering.
Change the far clipping plane.

Study the code you are copying more carefully.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this