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 13-02-2007, 11:45 AM   #1
JamesP
Subscriber
 
Join Date: Dec 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shading network question...

I'm trying to make a shading network for a character....

At the moment, I've made a bump node that's connected to a lambert. The lambert is has a colour assigned to it (blue)

I want to make an attribute that's on a character's control curve - and when I change the value on the control curve, the colour changes to one I pre-defined.

My question is how can I make the colour change to three different options?

I want to use the blue's HSV values and have two other options for colour.

Any ideas?

Thanks

James
JamesP is offline   Reply With Quote
Old 13-02-2007, 12:22 PM   #2
happymat27
Subscriber
 
happymat27's Avatar
 
Join Date: Jul 2004
Posts: 1,257
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello James,

I'm not too sure I understand your needs correctly but you can certainly use Set Driven Keys to control and animate colour through a 'Controller' curve.

In a nutshell, make a new attribute on the controller curve and set it to control the R,G and B values of the shader on your object. If you set it so that the max and min values are 1 and -1 respectively then you can have each whole value on the attribute equaling a colour. For instance -1 could = red, 0 could = green and 1 could = blue.

Hope that makes sense,

Mat.
happymat27 is offline   Reply With Quote
Old 13-02-2007, 12:39 PM   #3
JamesP
Subscriber
 
Join Date: Dec 2006
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

actually, that'll work nicely...

Thanks for the quick reply!!

James
JamesP 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.