Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 20-07-2012 , 02:48 PM
Registered User
Join Date: Jul 2012
Posts: 7

Animating face Color of Polygon

Hi, I’ve been working on Maya for short time.... I’m looking to animate the color of several faces of a polygon. Example, frame 1 starts as blue, by frame 100 becomes red. Using the materials attributes, I’m able to change the whole object, but can’t seem to change just individual faces. Any help would be very much appreciated.

# 2 20-07-2012 , 03:37 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
If you key the material attribute, but only apply that material to one face, it should work. Select the face(s) and RMB > assign new material (or existing material).

# 3 20-07-2012 , 04:25 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
confirmed Stwert's suggestion works fine.


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675
# 4 23-07-2012 , 02:39 PM
Registered User
Join Date: Jul 2012
Posts: 7
I must be missing something. Even with just the face selected anything selected to that hypershade color changes. I'll keep experimenting.

# 5 23-07-2012 , 02:52 PM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
you select JUST the face you want to animate the color change too.

Then assign the material you are keying to JUST that face

You assign a different material to the rest of the mesh





As a test do this so you understand what is happening.

1. create a poly cube

2. create 2 blinn materials

3. make one material green and the other red

4. assign the green mat to the entire object

5. pick just ONE face and right click on the red mat in the hypershade window and click "assign to selected"

You should now have a cube with 5 sides that are green and one side that is red!

6. now go to the red materials attributes, right click to the left of the word "color" and key the red color at frame 1

7. move the time slider to frame 100

8. go to the RED color materials attributes and change it's color to BLUE

9. right click to the right of the word "color" and key the BLUE color at frame 100

Now when to slide the time slider from 1 to 100 the single polygon with the RED shader with change from RED at frame 1 to BLUE at frame 100


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 23-07-2012 at 02:55 PM.
# 6 24-07-2012 , 02:01 PM
Registered User
Join Date: Jul 2012
Posts: 7
Great! Thank so much, it's working. My error was using just one hypershade color. Thanks again!

# 7 24-07-2012 , 03:01 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
i'd recommend using a blend colors rather than keying the colour channel.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads