SimplyMaya Forums

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

Home / forum / Animation / Animation / Animating Color Materials...
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 30-06-2006, 08:07 PM   #1
usmsci
Registered User
 
Join Date: Jun 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Animating Color Materials...

hi there.. i am wanting to know how you can animate material colors in maya? for instance i have a polygon that is colored blue and between frame 0 and frame 50 i have 2 faces selected on that polygon that i want to go from the color blue to the color yellow while the remaining faces of the polygon maintain their blue color. when i try to do this it doesnt work, it just saves the last color to all the frames.

how would i acheive this? thanks for your time...
usmsci is offline   Reply With Quote
Old 02-07-2006, 07:13 AM   #2
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

you have to do one of two things....

1) you can create a brand new texture for the two faces, and animate as before .

2) if you only want to do one texture, you're going to have to map whatever it is, then create a succesion of frames from yellow to blue in the desired area. Then you have to go back into maya and use the 'movie' texture (which is a little misleading, cause it only takes still frames).

Seems most probable that you'd be best served using the first one. anybody else know a different method?
__________________
Book Wise

http://X4nd5r.deviantart.com
Xander-0 is offline   Reply With Quote
Old 03-07-2006, 04:00 PM   #3
usmsci
Registered User
 
Join Date: Jun 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well i tried creating a ramp for the faces of the polygon that i chose and tried to animate this via keyframes but this didnt work either. How do you animate textures?

lambert->color->ramp.. then what? simply creating a ramp then assigned a color scheme to it and assigned a different color for a different timeframe does not work either. the first option is definitely more doable(so would seem)... thanks Xander and if you can think of anything else i would appreciate it or anyone else that wants to chime in..
usmsci is offline   Reply With Quote
Old 04-07-2006, 07:10 AM   #4
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

sorry, I was just talking about the basic premise for the setup. There probably is a way, but after thinking it over, I don't really know what it is. but this metod works.
right click on your object (or for just the two faces), and 'material'>'new material'>'layered shader'. Then, using the hypershader, create two random materials (whatever it was before that you were using, as in phong or blinn, or whatever). With the hypershader still opened, navigate in the attribute editor until you get the layered shader again. it looks a little bit different than the interfaces for the other textures. Now, middle-mouse drag the other two textures you created into the part of the layered shader window that says 'layered shader attributes' - there should be one block already in that portion (in mine its green). When you drag the other two textures in, they'll create two more blocks, just they should be blue, with a dot in the middle. Hit the x below the first box to get rid of it. Then, to animate the change, simply change the alpha setting on the upper texture (as you would key just about anything). I don't know if it'll make an exact transistion like a ramp between to colors would, but it'll work.
Note here - the nice thing about using two different textures like this, is you can do things like make one layer shiny, and the other not shiny.
If you have any other problems, I know maya has a little tutorial on layered shaders imbedded in the help files. A quick look through there will find it.
that help?
__________________
Book Wise

http://X4nd5r.deviantart.com
Xander-0 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.