Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 28-07-2007, 01:44 AM   #1
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Thanks: 0
Thanked 9 Times in 9 Posts
Default copy uvs?

Ok - not sure if you can do this - I'm texturing a keyboard. I'm too lazy to UV map all of the buttons - is there a way to map one, duplicate the UVs and then apply them to a new button? I don't want to transfer the UVs, as that would mean all of the buttons would have the same texture. I just want to layout one button - duplicate the UVs several times and then assign each new UV map to the buttons. I saw copy UVs under the UV texture editor, but that doesn't seem to do anything.

Help!
__________________
arran3D

arran3D blog

Last edited by arran : 28-07-2007 at 01:50 AM.
arran is offline   Reply With Quote
Old 28-07-2007, 03:04 AM   #2
BadG3r
Subscriber
 
BadG3r's Avatar
 
Join Date: Jan 2007
Location: Frankfurt
Posts: 216
Thanks: 0
Thanked 0 Times in 0 Posts
Default

since you want the same layout for every single button transfer uvs is the way to go.

if the buttons are exactly the same, like a duplicate of one) then just do a transfer and assign a different shader to them. this will do the trick.

transfer uv does not transfer shader or anything else only the things you check in option box.
BadG3r is offline   Reply With Quote
Old 28-07-2007, 03:25 AM   #3
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Thanks: 0
Thanked 9 Times in 9 Posts
Default

thanks for the reply BadG3r, but unless I'm mistaken, I don't think transfer is going to work.

Each button has the same mesh, but will have a different texture - for example, a different number on each button, so I need to be able paint a different texture for each. Not sure how assigning a different shader will help.

I'm really crap at texturing though :blush: , so I may be missing something.
__________________
arran3D

arran3D blog
arran is offline   Reply With Quote
Old 28-07-2007, 04:28 AM   #4
BadG3r
Subscriber
 
BadG3r's Avatar
 
Join Date: Jan 2007
Location: Frankfurt
Posts: 216
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes you are...

maya looks at the uvs and applys the shader.

so you paint one texture put in the color input and maya will always map the texture the same but looking for 'what-to-map' in the assigned shader...

just try it...

you'll see
BadG3r is offline   Reply With Quote
Old 28-07-2007, 05:14 AM   #5
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Thanks: 0
Thanked 9 Times in 9 Posts
Default

yeah - i see what you're saying, but that would mean I would need 106 shaders - one for every key!!

ha ha - unless i'm still not getting it.

thanks again BadG3r
__________________
arran3D

arran3D blog
arran is offline   Reply With Quote
Old 28-07-2007, 06:17 AM   #6
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,706
Thanks: 0
Thanked 85 Times in 77 Posts
Default

arran transfer uv's is the way to go , the uv's have nothing to do with the texture you apply only the way the texture fits the mesh,so simply create the textures you need be it 2, 3 or 26 whatever using the one UV map.

Then create a shader for each texture and then after all the keys have their Uv's transfer mapped just apply the appropriate shader to the keys you need it on.

hope this helps.
__________________


2 x Modeling Challenge Winner
jsprogg is offline   Reply With Quote
Old 29-07-2007, 03:02 AM   #7
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Thanks: 0
Thanked 9 Times in 9 Posts
Default

thanks jsprogg - i'll keep at it - my brain always seems to stop working when i get to texturing...

haven't seen you for a while - you still working on your wasp?
__________________
arran3D

arran3D blog
arran is offline   Reply With Quote
Old 29-07-2007, 03:49 AM   #8
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Hey Arran,

unfortunatly thats what you've got to do have a different shader for each part to assign hte map

Then again you probably could write a MEL script to do it for you, using a loop function and a simple increcement for the file??

Dunno as im not too sure about MEL, being getting back into C++, then again if you post thatin the MEL forum bet Alan could sort you out with a workround, if one exists...
__________________
"No pressure, no diamonds" Thomas Carlyle
gster123 is offline   Reply With Quote
Old 29-07-2007, 07:30 AM   #9
arran
Registered User
 
arran's Avatar
 
Join Date: Dec 2005
Location: Brooklyn, NY
Posts: 3,708
Thanks: 0
Thanked 9 Times in 9 Posts
Default

ha ha - thanks gster - i think mel might be a bit beyond me at the moment... :blush:

I ended up combining the keys and planar mapping them for the time being.
__________________
arran3D

arran3D blog
arran is offline   Reply With Quote
Old 30-07-2007, 06:35 PM   #10
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,706
Thanks: 0
Thanked 85 Times in 77 Posts
Default

haven't seen you for a while - you still working on your wasp?

I have been around just not actively posting as i have just moved house and haven't had much time what with things that need sorting out.
I am still UVing the Wasp a little at a time when I get a few moments spare ,when I have a significant update I will post it on the WIP.
__________________


2 x Modeling Challenge Winner
jsprogg is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.