PDA

View Full Version : object with layers has UVs all together - how to separate?



3dWannabe
04-30-2011, 10:13 PM
I've got an LWO exported from Maya that has each object on a separate layer, but ... all the UVs are combined.

I can select a layer and see each individual UV.

Is there some way to separate them, so that each layer has it's own UV as it should?

Thanks!

Dexter2999
04-30-2011, 10:36 PM
Put the separate layers in separate layers then generate your UV maps.
Select the polys then apply the UV's with names like "Level 1", "Level 2", etc.
Then merge the layers back into a single layer.
???

3dWannabe
04-30-2011, 10:49 PM
Put the separate layers in separate layers then generate your UV maps.
Select the polys then apply the UV's with names like "Level 1", "Level 2", etc.
Then merge the layers back into a single layer.
???

I don't understand. The separate layers are already in separate layers?

I don't want to generate UVs, I already have them. I just want to get them out of Maya (which shows each layer in the Outliner - and each layer has it's own UV).

For the end result, I want separate layers, each with it's own separate UV.

I have separate layers now in the LWO, but they all share a single UV with all the UVs jumbled together.

When I select each layer, I can see that layer's part of the UV, but they are all combined into one UV so it can't be used to paint.

Thanks!

jeric_synergy
05-01-2011, 12:34 AM
There's a variety of ways. Off the top of my head, here's one:


Duplicate your UV map to equal the number of layers.
Select UV map#1.
Multi-select all the layers EXCEPT layer#1.
Select ALL the polys on all those layers.
CLEAR MAP. This removes all selected polys from your selected UV map.
Select UV map#2.
Select all Layers except layer#2.
CLEAR MAP.
etc....

There's probably a slicker way, but this way WILL work.

If you have hundreds of maps, it might be faster to pay somebody to write a script that would do the same thing. ANd next time you need to do it, you'll have the script!

Dodgy
05-01-2011, 02:56 AM
Select a Layer.
Select the jumbled UV map.
Vmap>General>EditMap>Copy Vmap (give the map a new name)
Select a new layer.
Repeat.
Once all your layers have their own maps, select the jumbled UV map and Vmap>General>Clear Map.

3dWannabe
05-01-2011, 08:48 AM
Select a Layer.
Select the jumbled UV map.
Vmap>General>EditMap>Copy Vmap (give the map a new name)
Select a new layer.
Repeat.
Once all your layers have their own maps, select the jumbled UV map and Vmap>General>Clear Map.

Worked like a charm, thanks!