Results 1 to 5 of 5

Thread: What causes these seams

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003

    What causes these seams

    I was using Blender which is an OpenGL based app, and noticed some strange problems with quads.

    I made a small scene test with a textured plane:

    Divided in 16=4x4 quads. The uv mapping applies unifromly to the entire plane covering the texture.

    Next i scaled the vertices at the top to become very close. That produced the following shape.

    The strange thing is that seams and strange artifacts started to appear.

    I assume thats because these quads shapes are very close to triangles.

    Im asking for some opinion on this, could this be because a natural limitation of CG and OpenGL when quads shapes become very close to triangles or do you thing it's a Blender bug in the way it renders quads?

  2. #2

    Re: What causes these seams

    doesn't blender have a forum?

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Feb 2006

    Re: What causes these seams

    Simple, bad uv's, it happens, redo them.

  4. #4
    Junior Member Newbie
    Join Date
    Nov 2003

    Re: What causes these seams

    The uvs where generated from a planar projection. Maybe the way Blender generates uvs is imprecise and the small uv errors get amplified when vertices are joined closed together. Is that what you are sugesting?

    Edit: Nevermind, i think i found out what the problem is. My gfx card drivers (ATI radeon 9600 pro) is rendering quads as if they were two side-by-side triangles and that will cause texture distortions on the smallest triangle of the two. I should get a decent Nvidia card next time.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    May 2000
    Naarn, Austria

    Re: What causes these seams

    The screenshot looks very similar to perspective incorrect texture mapping. It's caused by the fact that the quads are split into two triangles, and the texture coordinates are interpolated seperately and linearly.

    Try to use a checkerboard texture, and you'll see more clearly what I mean. The texture is correct at the edges of the polygons, but the interior is interpolated wrong.

    While you are not using perspective, you still deform your mesh in a way similar to a perspective projection, so I think setting the texture coordinates as if this was produced by perspective will solve your problem.

    However I don't know how to do this in blender.

    EDIT: Just saw your edit. Every graphic card will render quads as two triangles, that's not a bug, and changing to a nvidia card won't fix it...

Similar Threads

  1. texture seams
    By strattonbrazil in forum COLLADA
    Replies: 1
    Last Post: 09-29-2012, 01:16 PM
  2. 2d Seams
    By Critical_Impact in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 04-30-2010, 01:54 AM
  3. Skybox with seams
    By Rodrix in forum OpenGL: Advanced Coding
    Replies: 17
    Last Post: 02-27-2006, 04:52 AM
  4. Seams in Skybox
    By Rodrix in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-12-2006, 01:36 PM
  5. Gaps in seams
    By GreatApe in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 08-28-2005, 07:28 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