PDA

View Full Version : Copying UV selections between UV tags?


Jake-L
07-08-2008, 07:09 AM
I've run into a snag, here's the situation:

- A model with two sets of UVs
I need to transfer certain UVs from one set to another

-"Copy/Paste UV Points" only works on single UV poly basis
- The Store/ Restore UVs command doesn't respect selections (i.e. the whole UV set gets transferred)

Is there a method I've overlooked to get a selection of UVs from one set to another?

Any info much appreciated.

Cheers,
Jake

Jake-L
07-09-2008, 05:06 AM
I take it as a "No, can't be done", then......:hmm:

Per-Anders
07-09-2008, 05:51 AM
There's probably a way to do it with Bodypaints native tools, but assuming that we're not talking about different objects (in which case VAMP is what you want to use), it's perfectly possible via COFFEE.

mmhnemo
07-09-2008, 06:36 AM
Can't test now so I'm guessing:

Duplicate the object
Delete UV Set 1 on Object 1
Delete UV Set 2 on Object 2
Combine the objects -> gives you the combined UVs
Copy Combined UVs Tag to original object
Delete leftovers

Maybe worth a try...

otomo
07-09-2008, 08:29 AM
Can't test now so I'm guessing:

Duplicate the object
Delete UV Set 1 on Object 1
Delete UV Set 2 on Object 2
Combine the objects -> gives you the combined UVs
Copy Combined UVs Tag to original object
Delete leftovers

Maybe worth a try...


it gives you the combined UVs but also a doubled object with twice the amount of uv data. Therfore copying the UV set back to the original object won't work.

Jake-L
07-09-2008, 08:41 AM
Thanks for the suggestions, guys.

Unfortunately a Coffee solution s well beyond my puny brain.
As to the other solution, it seems to end up like otomo said.

I'll do it by hand for now...after all, UV editing is SO much fun :D

/jake

otomo
07-09-2008, 08:55 AM
There's probably a way to do it with Bodypaints native tools, but assuming that we're not talking about different objects (in which case VAMP is what you want to use), it's perfectly possible via COFFEE.

No way to do this in BP. No support for multiple UV Sets.


But here's a way that might work. (building on mmhnemo's idea)

1. Select the Polygons from object 1 from which you wanna copy the UV Data.
2. Split them from object 1, resulting in object 2 .
3. Select the object 1 and delete the selected polys. Delete unused Points.
4. Now you got 2 objects and every object has 2 UV Sets. Delete on both objects the uv set which isnt used on that object. UV Set 2 on object 1 and UV Set 1 on object 2.
5. Now you can connect the 2 objects resulting in object 3. Optimize.
6. The resulting object 3 has now a new uv set 3 which is a mix of the both uv sets 1+2.

Jake-L
07-09-2008, 09:14 AM
Thanks otomo - this seems to be the best workaround so far.

Cheers,
Jake

bunk
07-09-2008, 11:02 AM
Thanks otomo - this seems to be the best workaround so far.

Cheers,
Jake

Here is a better one. Select the UV polygons you want to copy to your other UV tag. Hide the UV's that are not selected. Choose 'Store UV' ...switch to the other UV tag and choose 'Restore UV'. 'Unhide All' and you're done.

Concluding UV store/restore works with visible UV's instead of selections.

Might be by design, might be an oversight, might be a bug.

I'll report it as a bug ;)

otomo
07-09-2008, 11:34 AM
fantastic. works much quicker than my version. Its great to see how a tip gets better and better during the lifetime of a thread.

Jake-L
07-09-2008, 11:57 AM
Aahh...very good...hiding indeed does it!

Thanks, bunk!!

mmhnemo
07-09-2008, 01:38 PM
Yes thank you Bunk,

thats a really usefull ... bug ;)

CGTalk Moderation
07-09-2008, 01:38 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.