Jump to content
  • Advertisement
Sign in to follow this  
Thomas Obermaier

Edges

This topic is 5070 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 my static geometry stored in a displaylist that is compiled with vertex buffers. i'm not using multitexturing, so every vertex buffer has only a single texture. all vertex buffers are constructing a flat area (with grass, streets, etc) for a flight simulator. at corresponding edges (e.g. a street with some grass). works really nice and i have also a nice performance. but in some cases (mostly ATI cards) the edges don't fit very well together, sometimes i see some pixels of my background color! i played around with polygon_smooth, FSAA and stuff, but the result is still there. can you give me an advice on how to fix that problem? for a better explanation, see the screenshot: http://pro.dword.org/trash/edges.jpg thank you, thomas

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
does your geometry contain t-junctions?

Share this post


Link to post
Share on other sites
A T-junction is this:

p
. .
. S .
...o...
. . .
. . . .
.. T ..
.......

There are 4 triangles. A vertex of triangle T lies on an edge of triangle S (this spot is marked by an "o"). This is called a T-junction. T-junctions cause the artifacts which show up in your screenshot. Try to avoid them by adding additional triangles (e.g. split S into two triangles by adding an edge o->p).

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!