• Advertisement
Sign in to follow this  

This topic is 4949 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
are u using GL_CLAMP with your textures try changing this to gl_clamp_toEDGE

Share this post


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

  • Advertisement