FORUMS: list search recent posts

switch utility

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
puneet loona
switch utility
on Jul 1, 2010 at 6:12:46 am

hi friends.. can you please tell me how to use " Switch utility" in MAYA . what is the diffrence in double, triple and quad switch utilities. please reply me soon fiends. waiting


Return to posts index

Michiel Duvekot
Re: switch utility
on Jul 1, 2010 at 1:32:15 pm

Single Shading Switch is a utility node that enables you to switch between different values based on which surface is being shaded.
For example, say you have a complex shading network that is being used by many objects. However, two of these objects need to have different Diffusion value. You could accomplish this by copying the entire shading network for each of these objects. But if you do that, any changes made to the shading network later will have to be repeated for each of the copies. Instead of copying the network, just use one network with a Single Shading Switch node. Connect the Output attribute of the Single Shading Switch to the Diffusion attribute of the shader. Set the Default attribute of the Single Shading Switch to the value used by most shapes. Then, for each object that needs a different value, specify the object and its particular value. Now, you can assign the same shader to all the objects, and the objects that need the different diffusion values will get them automatically. Note: The Single Shading Switch only works on single-valued attributes. If you need to switch double attributes, such as UV coordinates, use a Double Shading Switch. If you need to switch triple attributes, such as 3d coordinates, or colors, use a Triple Shading switch. In the table below, important attributes have their names listed in bold in the description column.


Double Shading Switch is a utility node that enables you to switch between different values based on which surface is being shaded.
For example, say you have a complex shading network that is being used by many objects. However, two of these objects need to have different UV coordintate values set in one of the texture placements. You could accomplish this by copying the entire shading network for each of these objects. But if you do that, any changes made to the shading network later will have to be repeated for each of the copies. Instead of copying the network, just use one network with a Double Shading Switch node. Connect the Output attribute of the Double Shading Switch to the uvCoord attribute of the texture. Set the Default attribute of the Double Shading Switch to the value used by most shapes. Then, for each object that needs a different value, specify the object and its particular value. Now, you can assign the same shader to all the objects, and the objects that need the different UV Coord values will get them automatically. Note: The Double Shading Switch only works on double-valued attributes. If you need to switch single attributes (such as Intensity of Translucence), use a Single Shading Switch. If you need to switch triple attributes, such as 3d coordinates, or colors, use a Triple Shading switch. In the table below, important attributes have their names listed in bold in the description column.


Triple Shading Switch is a utility node that enables you to switch between different values based on which surface is being shaded.
For example, say you have a complex shading network that is being used by many objects. However, two of these objects need to use different colors in one of the textures. You could accomplish this by copying the entire shading network for each of these objects. But if you do that, any changes made to the shading network later will have to be repeated for each of the copies. Instead of copying the network, just use one network with a Triple Shading Switch node. Connect the Output attribute of the Triple Shading Switch to the Color attribute of the texture. Set the Default attribute of the Triple Shading Switch to the color value used by most shapes. Then, for each object that needs a different color, specify the object and its particular value. Now, you can assign the same shader to all the objects, and the objects that need the different color values will get them automatically. Note: The Triple Shading Switch only works on triple-valued attributes, such as colors or xyz coordinates. If you need to switch single attributes (such as Intensity of Translucence), use a Single Shading Switch. If you need to switch double attributes, such as UV coordinates, use a Double Shading switch. In the table below, important attributes have their names listed in bold in the description column.

Quad Shading Switch is a utility node that enables you to switch between different values based on which surface is being shaded.
The usage of this node is very samilar to TripleShadingSwitch. The only different is this works on quadruple-valued attributes, like rgb and alpha. Note: If you need to switch single attributes (such as Intensity of Translucence), use a Single Shading Switch. If you need to switch double attributes, such as UV coordinates, use a Double Shading switch. And if you need to switch triple attributes, such as xyz, use a Triple Shading switch. In the table below, important attributes have their names listed in bold in the description column.


Michiel
http://www.thnkr.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]