achoury
03-05-2009, 02:25 AM
Similar we make the papers with 2 side of paper diffirent. So i dont know how to make it right by Maya. every one has ideal for this. help me. however can you show me some way to fix this problems .Thank first!
hi
You can do it with Maya native shader or with mental ray shader
* With maya shaders:
here is a quote from Maya doc
To create a double-sided shaded surface
In the Hypershade, create one of each of the following:
Material (this procedure uses a Phong material).
A Sampler Info (http://download.autodesk.com/us/maya/2009help/files/Shading_Nodes_Sampler_Info.htm) utility. The Sampler Info utility provides access to camera and surface information that you can pipe into your shading networks during rendering.
A Condition (http://download.autodesk.com/us/maya/2009help/files/Shading_Nodes_Condition.htm) utility. The Condition utility lets you specify which texture is mapped to each side of the surface.
Checker texture.
Crater texture.
Assign the Phong material to the surface.
In the Hypershade, middle-drag the Checker texture onto the Condition utility to open the Connection Editor.
In the Connection Editor, connect the Checker’s Out Color attribute to the condition utility’s Color If True attribute (click the Out Color attribute in the Checker column, then click Color If True in the Condition column). http://download.autodesk.com/us/maya/2009help/images/MED/MacGyver/English/Shading/ColorConnect1.png
In the Hypershade, middle-drag the Crater texture onto the Condition swatch, and in the Connection Editor, connect the Crater’s Out Color to the Condition’s Color if False attribute.
Middle-drag the SamplerInfo swatch over the Condition swatch to open the Connection Editor.
In the Connection Editor, click the Flipped Normal attribute then click the Condition’s First Term or Second Term attribute. http://download.autodesk.com/us/maya/2009help/images/MED/MacGyver/English/Shading/ColorConnect2.png
In the Hypershade, middle-drag the Condition swatch onto the Phong material swatch and select color to connect it to the Phong’s Color attribute.
Perform a test render. Maya shades each side of the surface with a different texture.
Swapping the textures on the surfaces For more information about double-sided surfaces, see Double-sided shaded surfaces (http://download.autodesk.com/us/maya/2009help/files/Asts_Doublesided_shaded_surfaces.htm).
You can use the Condition utility to specify which texture is applied to the front and back sides of the surface. For more information about the condition utility, see Condition (http://download.autodesk.com/us/maya/2009help/files/Shading_Nodes_Condition.htm).
To swap texture mapping for double-sided shading
Double-click the Condition swatch in Hypershade to open its Attribute Editor.
In the Condition Attributes section, change the Operation attribute to Not Equal (or if it is set to Not Equal, change it to Equal).
Perform a test render. The following shows the result. http://download.autodesk.com/us/maya/2009help/images/MED/MacGyver/English/Shading/comp_doublesided_1.png
* With mental ray:
Just plug the mib_twosided to the color slot of you shader
/rachid
vanviet
03-05-2009, 02:31 AM
thank you! i missed importand things from basic!
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.