PDA

View Full Version : transfering attributes (module III/ UVlayout)



michelena
10-25-2006, 12:15 AM
I canīt transfer correctly the attributes of my modified bubba to the original model. When I select the original model, in the UV texture editor appear this image

laxman
10-25-2006, 01:35 AM
Are the UV of the modified working properly? Go to the options for the transfer, is UVs checked off?

prutser
10-25-2006, 07:53 AM
Hi michelena and Iaxman,

I have a similar problem.. and added a reply in this thread http://www.digitaltutors.com/chit_chat/showthread.php?t=1769 , but I only see your post now. I better added it here. Sorry.

Anyway. I also tested with the bubba_uv_layout.mb from the disk like explained in vid\a09.mov, and had the same (wrong result).
I noticed that setting the sample space from World to Local helped a lot.
It transfered the uv's to the the original object.. but, the modifications on them (like the mouth, hands, eyes) are gone or little changed.

thanks

michelena
10-26-2006, 01:30 AM
Hi, the modified model is working all right and the UV are selected in the transfer attributes channel box. I tried to transfer them and this is the result, when I select the original model, my UV texture editor is this:

Thank's :yes

prutser
10-26-2006, 05:44 AM
well... the uv's you see at the right is now on your original object, right?
You can't use that in photoshop.. the layout of your modified object should be kept. looks they're lost to me.

laxman
10-26-2006, 08:54 AM
Did you select the object in the right order? Make a new scene and maketwo spheres, map both differently, and try to transfer the UVs.

michelena
10-26-2006, 10:07 AM
I select them in the right order and I can transfer attributes correctly with other objects, I think I know what the problem is, but I don't know what I did wrong. The problem is that weird UV layout that I show you first, it is a square instead like a inversed T. Also I imported the original file on the disk on the same scene and when I select the original file model, it appear correctly in the UV texture editor (the inversed T).

thanks

prutser
10-26-2006, 10:40 AM
Did you select the object in the right order? Make a new scene and maketwo spheres, map both differently, and try to transfer the UVs.I've tried this too with several settings, without luck. the new uv mapping on the original object is always messy or behaves random.

laxman
10-26-2006, 11:23 PM
Are you guys all using maya 8? I just did the sphere then and it worked perfectly...with maya 7.

michelena
10-27-2006, 12:15 AM
yes, I'm using maya 8

prutser
10-27-2006, 02:43 AM
yes me too. i'm no expert with it but i don't think i'm doing something wrong..

laxman
10-28-2006, 03:16 PM
copy and paste this into the command line at the bottom:

polyTransfer -vc 0 -uv 1 -v 0 -ao pSphereShape1 pSphereShape2;

replace the pSphereShape1 with the name of the object with the correct UV layout and pSphereShape2 with the object that needs to get the correct layout.

prutser
10-28-2006, 03:43 PM
copy and paste this into the command line at the bottom:

polyTransfer -vc 0 -uv 1 -v 0 -ao pSphereShape1 pSphereShape2;

replace the pSphereShape1 with the name of the object with the correct UV layout and pSphereShape2 with the object that needs to get the correct layout.
yes! this worked correctly laxman :) I don't know how to thank you.
I first tested it on 2 spheres and then on my model:

polyTransfer -vc 0 -uv 1 -v 0 -ao bubbaUVShape bubba_bodyShape;
// Result:polyTransfer2//

Which worked as expected. I believe with this flags vc color is off , uv is on, vertex is off. Nothing changed against the settings with the gui, however only this seems to work.
Again thanks very much!

michelena
10-28-2006, 03:47 PM
:yes :yes :yes It worked. Thanks very much

laxman
10-29-2006, 12:24 AM
thats wierd, all I did is paste the script it showed when I did the UV transfer, it seems like thats a bug with version 8 then. Just for reference, would one of you mind posting the script from the script editor when you use the tool in maya 8. Set the GUI to the correct setting then do it and paste the script here.

prutser
10-29-2006, 06:04 AM
Hey, of course.
Seems like it's doing other things:

select -r pSphere2 ;
select -tgl pSphere1 ;
transferAttributes -transferPositions 0 -transferUVs 2 -transferColors 2 -sampleSpace 0 -flipUVs 0 -colorBorders 1

This is the default after "reset settings" in the gui. But nothing happens after that.
Other settings might give result

transferAttributes -transferPositions 0 -transferUVs 1 -transferColors 1 -sampleSpace 0 -flipUVs 0 -colorBorders 0;
// Result:transferAttributes3//

But the uv's are a mess.

TheShade
04-13-2007, 06:34 PM
to me it looks like they were using the "transfer attributes" in maya 8 versus the "copy mesh attributes". the "transfer" feature in version 7 has been changed in maya 8 to "copy mesh attributes". I tried it for the heck of it. When using "transfer attributes" in maya 8.5 i was getting the same funky UV's that were illustrated in previous posts. But when i used the correct menu item (copy mesh attributes) all worked fine.

it is definately confusing trying to understand all the re-organized menus from Autodesk.