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 30-06-2006, 09: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, 08: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, 05: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, 08: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

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.