1
$\begingroup$

enter image description hereI scan a bust of someone and get an xxx.obj file and a texture file. The mesh is too dense and also needs repair so I make a separate obj file to repair. During the repair it loses the texture. I bring in the original mesh and the new mesh, align them (ether in meshlab or visually in Blender). I remove duplicates in both meshes. Then I unwrap the new mesh using smart UV unwrap. Then I bake the original texture to the new mesh.

Besides finding overlapping UV meshes (fixable), the issue is that there are more than one UV face for certain areas. I get duplicate individual faces and duplicate multi-face areas in the uv map. The resulting model has bits of the shirt color in the face and vice-versa.

When I select the troubled faces in the editor view, multiple separate areas in the UV image map light up. When I paint the face, the shirt gets bits of the skin color, etc. I can't seem to delete the bad duplicate faces in the UV mesh.

Is this a problem with Blender 2.72 or am I doing something wrong - and how to I fix this?

Thanks for your help. B

UPDATE: I've uploaded a blend file at . I've created completely black testuv.png file an as soon as you open the blend file, you'll see the mesh and the UV editor panel. Notice that two faces are selected on the mesh edit panel and on the left two completely separate pairs of UV faces are highlighted. This occurs many times after doing an unwrap using Smart UV Project.. Notice that I painted the face area red and see how many red triangles there are in other parts of the mesh. I do see areas of overlapping mesh but I can fix those manually. I can't seem to separate the duplicate UV meshes or delete them. You can re-do the unwrap and recreate the problem.
Thanks.

$\endgroup$
2
  • 1
    $\begingroup$ That's very odd.. I've never seen anything like that before. Is it possible you could upload the .blend? $\endgroup$
    – gandalf3
    Mar 16, 2015 at 18:48
  • $\begingroup$ As soon as I figure out how to upload a blend file, I'll send an example. Since it is a person's likeness, I am painting over the texture but it will highlight the problem. Thanks. $\endgroup$
    – bob
    Mar 17, 2015 at 17:09

1 Answer 1

3
$\begingroup$

These are not not duplicate face they are vertices shared between these faces and are highlighted on both of them and that's because you are using vertex select mode if you switch to face select it will be clear

enter image description here


something to note about UV mapping :

each vertex has a general index obj.data.vertices[index] and loop indecies (one or more ) obj.data.loops[loop_index] which is used in the UV mapping so each vertex can have more than one UV coordinates in the UV map. UV coordinates are obj.data.uv_layers[UVmap_index].data[loop_index]

in a nutshell when UV mapping you are dealing with faces not vertices


UPADATE:
The problem is with UV unwrapping which is producing scattered face from different regions and the low resolution texture image you are painting on ,after using texture paint on the face only :

enter image description here

you can see that the paint spreads to different regions and that's because of :

  • UV unwrapping ( small spacing , and scattered faces )
  • Texture low resolution (compared to the mesh density )

enter image description here

what you can do is :

  • unwrap again with larger margin
  • use higher resolution texture

OR:

  • try another unwrapping method

Note :

  • you may want get ride of the extra vertices using Remove Doubles ,
  • you can paint texture directly on the mesh with Texture paint mode
$\endgroup$
2
  • 1
    $\begingroup$ Thanks very much Chebhou, I did notice that I could select single faces and not get duplicate selections on the UV map, however that still does not explain why I can't paint the textures without messing up another area. The original problem manifests itself in the colors from one area showing up on another area. It's like chasing your tail. Fix one, the other goes to the wrong color - fix that one and you're back to fixing the first one. If I were painting vertex colors,I could see how it happens, but I'm painting directly onto the texture map image file. I hope this describes the issue. $\endgroup$
    – bob
    Mar 18, 2015 at 15:55
  • 1
    $\begingroup$ Awesome description! I understand exactly what is happening. I tried the smart UV Project again with Island Margins set to .001 and it makes a big difference. Still have some faces getting painted over. Remove Doubles said "0 vertices removed" but when I selected ALL, 4700 vertices removed! Unwrapping now provides better UV mesh. Still overlap here and there but it worked.better. Painting on the UV image is more precise than the mesh. If there is a distant face then painting on the mesh makes a color line thru the UV map to get there.Thanks so much for the help. $\endgroup$
    – bob
    Mar 18, 2015 at 19:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .