Jump to content
  • Advertisement
Sign in to follow this  

Display problem for adjacent elements due to Rasterization

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

Hello, I'm trying to build a level for a game. I have several independent elements that I put in fixed positions to build some shapes. For example, to make a wall, I put several "Brick" elements together. The problem is that when I move the camera, some little graphic problems arrise: the delimitation between the brick elements may appear and it looks like the elements are not really part of an uniform surface. Even if the next brick's first vertex has exactly the same coordinates as the previous's brick last vertex, a little separation between the two elements may appear sometimes when scrolling the camera. I think it's due to the rasterization algorithm that may skip some of the pixels located on the margin of the bricks so that some pixels are not drawn (see "rasterization" in the directX doc). Has anybody encountered such a problem, and what could I do to eliminate this problem? Thx.

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!