SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Shading network question...
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 13-02-2007, 10: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, 11:22 AM   #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, 11:39 AM   #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
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.