Jump to content
  • Advertisement
Sign in to follow this  
Danzence

Glitches/disappearing vertices

This topic is 3551 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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.

Share this post


Link to post
Share on other sites
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
http://msdn.microsoft.com/en-us/library/bb976071.aspx <-read

And a screenshot would help, incase it's something else.

Share this post


Link to post
Share on other sites
Turned culling off, problem still there =/


I even set the far clipping plane to less than the near, I could still see everything xD

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!