Sign in to follow this  
Thomas Obermaier

Edges

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this