SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 28-07-2007, 12: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 12:50 AM.
arran is offline   Reply With Quote
Old 28-07-2007, 02: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, 02: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, 03: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, 04: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, 05:17 AM   #6
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,708
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, 02: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, 02: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, 06: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, 05:35 PM   #10
jsprogg
Lifetime Member
 
jsprogg's Avatar
 
Join Date: Feb 2004
Location: Chicago
Posts: 1,708
Thanks: 0
Thanked 85 Times in 77 Posts
Default

Quote:
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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.