Jump to content
  • Advertisement
Sign in to follow this  
Alex Hopkins

DirectX 11 Flickering Polygon Edges Problem

This topic is 1720 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

EDIT: Stupidly, my Near plane was set too small (to combat an earlier issue). I do not know how to delete this post however.

 

I'm following Frank Luna's Introduction to 3D Game Programming with DirectX11 and I am seeing an issue with the edges of the polygons on screen. (I'm using Windows SDK, Effects11 and DirectXTK in my solution on Windows 7)

The intersection between the waves and hills (from chapter 8) and the edge of the crate have horrible dancing polygons, almost like Z-Fighting but not. I can't paste all my code but here is a link to a quick video clip demonstrating the effect.

YR7M5.png

Does any DirectX pro have any insight into why this might be happening or has anybody seen this before?

There is a more obvious effect on this video (ZIPPED) 

https://www.dropbox.com/s/y6arcbn5c8jpcmh/MEngine%202014-01-02%2015-28-13-59533.zip

Edited by Alex Hopkins

Share this post


Link to post
Share on other sites
Advertisement

What I can think of is you've either set your camera's near-clipping distance too low or you do not clear the depth buffer at the beginning of every frame.

 

Best post videos to YouTube.

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!