Jump to content


Photo

Blender: Combining Multiple UV Channels


1 reply to this topic

#1 R Soul

R Soul

    Member

  • Member
  • PipPip
  • 62 posts

Posted 08 January 2018 - 05:57 PM

I've noticed that some .lwo models I import into Blender have their texture mapping split into multiple UV channels. It makes editing hard and re-exporting impossible because only one UV channel will be considered. Here's a simple way to combine all the UV channels:

 

Here's an example of a door, where some faces have visible UV mapping and others appear to be solid colour only:

obj_example.jpg

 

When looking in the Object Data you can see it has 3 UV channels:

three_uv_maps.jpg

 

Selecting the other two channels shows that the plain faces do in fact have mapping:

texture_uv_map.jpg obj_uv_map.jpg

 

To combine the three of them so you can see and export all of the UV mapping, you have to split the object by the UV channel, delete the unused channels from each object and then give each object's UV channel the same name, before combining the object again.

 

You can leave the first channel alone.

 

Select the second channel, go into Edit mode and also open the UV mapping panel. Click on the button shown here to ensure it's active:

uv_select_synch.jpg

 

In the UV panel, select everything (A to toggle). In the lower left corner (or perhaps somewhere else) you'll see what looks like a single vertex:

other_uv_channels.jpg

 

This is actually all of the vertices belonging to the other UV channels. Use the box (B) or circle © select tools to deselect them (Middle mouse click/drag).

 

That will limit the selection solely to the faces that are mapped in the current UV channel:

mapped_only.jpg

 

In the 3D panel, you can now split the selected faces (P) to make a new mesh:

split_mesh.jpg

 

If there are more UV channels, select the original mesh, select the next UV channel in the list, and repeat the above process.

 

Continued in the next post due to attachment limit being reached...



#2 R Soul

R Soul

    Member

  • Member
  • PipPip
  • 62 posts

Posted 08 January 2018 - 06:02 PM

You will now have one mesh for each mapped UV channel. For each mesh:

 

Delete all of the unmapped UV channels so you are left with just one per mesh.

 

Give each object's remaining UV map the same name. It doesn't matter what it is (I prefer to keep it simple):

obj_1.jpg obj_2.jpg obj_3.jpg

 

Now the meshes can be recombined. Select them all and press Ctrl J:

combined.jpg

 

All UV mapping is now visible. :D


  • nbohr1more and RPGista like this



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users