Results 1 to 5 of 5

Thread: Gaps in seams

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2005
    Location
    London
    Posts
    6

    Gaps in seams

    I've got a problem where two edges join and the vertexes are at different places on the line and I get small gaps in the seam.



    It appears to be due to the anti-aliasing effect of the jagged edges of the lines not matching up. Would I be right in thinking this is just one of those problems I have to deal with by making sure vertexes on triangles either side of the join match up?

    I'm actually working on OpenGl ES on the symbian emulator if that makes any difference to the issue. Which is one reason I want to avoid adding vertexes as it's going to be running on a low powered device so I want to keep the count as low as possible.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2005
    Posts
    145

    Re: Gaps in seams

    Looks like a T-junction, alright (discussed in the redbook). The only way I know to eliminate this artifact is to add the vertex, or rely on a particular backround color or geometric situation to hide the problem. If you want generic, high quality results, that may not be a very appealing alternative. Besides, if you're using indexed vertex buffers, the extra vertex count could be marginal. Obviously it all depends on how bad things are, taken as a whole. My suggestion would be to try it and see.

  3. #3
    Member Contributor
    Join Date
    Feb 2004
    Location
    Dallas/ Nottingham
    Posts
    96

    Re: Gaps in seams

    HI

    I would have to agree to Hlz, from your image it looks like you have a T-vert/T-junction problem

    Due precision problems if you have a vertext that is placed on a edge, then you going to end up seem a gaps from some angles.

    The only way to fix this properly is ensure that you only have vertex to vertex junctions

  4. #4
    Junior Member Newbie
    Join Date
    Feb 2005
    Location
    London
    Posts
    6

    Re: Gaps in seams

    Thanks both, looks like the redbooks something I'm going to have to get stuck into to learn a bit more.

    Sure it's not going to cost me too much adding the extra vertices, will just have to bite the bullet and do it.

  5. #5
    Guest

    Re: Gaps in seams

    Use glPolygonOffset?

Similar Threads

  1. Replies: 1
    Last Post: 03-31-2014, 05:44 PM
  2. gaps between 2D tiles
    By codetale in forum OpenGL: Basic Coding
    Replies: 16
    Last Post: 11-16-2010, 11:22 PM
  3. Radeon Gaps Problem
    By KuDeSnik in forum OpenGL: Drivers
    Replies: 7
    Last Post: 09-18-2010, 05:07 AM
  4. Gaps between DX10 and OpenGL 3.2
    By elFarto in forum OpenGL: General
    Replies: 27
    Last Post: 08-31-2009, 06:19 PM
  5. wide, cruved lines (without gaps)
    By revillo in forum OpenGL: Basic Coding
    Replies: 13
    Last Post: 08-13-2009, 09:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean