Fix the UV map
- Creators of “sculpted prims” for OpenSim and similar environments
- Blender novice (low/mid level skills)
- download: jass-2 (binary distribution, contains blender-2.49b, python-2.6.4, primstar-1.0.0 and more)
- Blender primer (First steps in blender)
(*) If Jass-2 is not an option for you, you can download the prerequisites separately:
This sculptie is apparently based on a torus shape.
Let us examine the stitching of this object.
- Go to edit mode
- and in the UV-editor ensure that you have enabled “Sync UV and mesh-selection”.
Now you can select vertices in the UV-editor and immediately see the corresponding
vertices on your mesh.
- Select the left-most column of vertices in the UV-map by pressing (and holding down):
and then right-click
on the left-most column.
On the model we see that one complete edge-loop gets high-lighted.
this is correct.
Now shift, alt, right click, on the right-most column in the UV-editor.
On the model we see that a secnd edge-loop gets selected.
This is not correct!
Because we work with a torus shape we expected,
that the left-most and the right-most column of the UV-map are
assigned to exactly the same loop on the mesh.
We have to fix this later.
Now examine the top most-row of vertices in the UV-map:
ALT- RMB on the top-most row.
You see that the bottom-most row gets also selected.
This is correct. The top to bottom stitching is correct and
behaves as expected.
Let us see, what the baker-tool will create for this object.
Render -> Quick Bake Sculpt Meshes
Object -> Scripts -> Preview Selection
This will create an Object based on the current sculptmap.
This object will show you how your sculptie will later look in your online world.
We see that our object will be rendered to a flat shape.
This is apparently not what we wanted.
And the problem is directly related
to the wrong stitching of the original object.
So how can we correct the wrong left-to-right stitching ?
Apparently the mesh itself is fully correct.
So this is a perfect case for sculptify objects.
But before we actually apply the sculptify tool we have to do a little preparation:
It is important to mark the seams!
Since we have already selected the top-and-bottom edge,
we just mark the corresponding vertices in the mesh as seam. For this we click on:
Mesh -> edges -> mark seam.
Now we have marked the top-to-bottom seam.
Let us define the other seam:
ALT-RMB on the left-most column in the UV-editor.
We again mark the edge-loop as seam.
Now we have marked the left-to-right stitching seam.
We are ready now to re-sculptify the object.
go to object mode.
object -> scripts -> sculptify Objects.
the resulting object has a correct UV-map, with the correct stitching.
Now let us call the baker tool, and then preview the sculptie.
This looks much better. But we see black spots on the object.
So what is that ?
A closer inspection in edit mode shows, what happens.
You see that near the dark spots the faces intertwine.
This happened because the inner surface and the
outer surface of the object are too close to each other.
You can correct this manually by shifting the vertices a bit such that the
surfaces no longer intertwine. Then the black spots disappear.
You can now do some fine corrections of your mesh,
and then your Sculptie is ready for transport to Secnd Life.