View Full Version : Maya- Creating an attribute to switch skins
Gthoma2 11-04-2009, 11:16 PM Hi,
I'm working on a collaborative project and am currently rigging an orthographic puppet in Maya.
I was wondering if there was a way to add an attribuite to a controller that lets me switch from lambert A to lambert B. Or to let me just switch the source color file that it reads.
Thanks!
|
|
EricTRocks
11-05-2009, 01:06 AM
Haven't used Maya in about a year and a half, but there should be a color switch node I believe that allows you to blend between 2 colors. But you can hook up texture nodes into the input ports and use a custom attribute to drive the blend param.
Eric T.
Gthoma2
11-05-2009, 01:20 AM
I'm not horribly well versed in rigging and I don't know how to utilize nodes at all. I was thinking I could use set driven keys to influence the custom attribute I made and switch it over to a new color file, but I can't seem to get it to work.
Any ideas?
EricTRocks
11-05-2009, 03:07 PM
You may need to look up how to use the hypergraph / hypershade to make connections between different objects in your scene.
rudraksh
11-10-2009, 11:30 AM
you can use "blend colors utility in color utilities present in hypershade . Open hypershade , create a blend color utility . then bring ur lambert node in the hypershade window nd connect the output of blend color utility , to the input of ur lambert color node . then open the attribut editor of blend color utility and apply 2 different texture into its two given in put nodes . there is a slider given (value range 0-1) which you can use to blend or switch between the two differnt textures . you can even connect this attribute of the utility with ur custom attributes using any process like set driven key ....
this is the easiest process to switch between the textuers ...........
using this utility you can apply as many textuers as you want on a single material of an object and switch between them easily :D
CGTalk Moderation
11-10-2009, 11:30 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.