layered texture

Upload: chaithu

Post on 06-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Layered Texture

    1/10

    Email Address:

    Subscribe to:

    Updates ListIndustry NewsNewsletter

    Check The Buzz

    10-23 : Kansas City

    Animation Group

    Undergoing System

    Maintanence over

    weekend - mail and site

    down

    Added The ability to

    submit plugins and tool

    links to outside sites

    Launching 3DS Max

    Section

    Announcing Partnership

    with Discreet for 3DS Max

    Announcing Highend

    Magazine Issue 2 Ships

    Search For

    HIGHEND3D > Maya > Tips & Tutorials

    Layered Texture Tutorialby The-Real-Mrhell

    In this tutorial you will learn how to use the alpha channel of your projected image to "stencil" your image over/under other images on your geometrywith the use of a layered shader.

    first off build your self a nurbs sphere, make it look some thing like this:

    (You don't have to but it will look better!)

    Open up your MultiLister and create a BlinnSG (Make sure Shading group is ticked).

    Map the color of your Blinn to a "layered texture"

    Welcome amitnike[ My Home ] or [ Logout ]

    - Mel Scripts

    - Forums

    - Hardware Tests

    - List Servers

    - List Archive

    - Game Archive

    - Dev Archive

    - Plugins

    - Shaders

    - Test Center

    - Tools

    - Tips & Tutorials

    - Users Links

    Real World Maya 4.5

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (1 of 10)10/15/2003 5:57:53 PM

    http://www.highend3d.com/link.htmlhttp://www.highend3d.com/link.htmlhttp://www.highend3d.com/link.htmlhttp://www.highend3d.com/boards/postlist.php?Cat=&Board=thebuzzhttp://www.highend3d.com/calendar/eventView.phtml?Event_ID=93http://www.highend3d.com/calendar/eventView.phtml?Event_ID=93http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/3dsmax/http://www.highend3d.com/3dsmax/http://www.highend3d.com/news/#633http://www.highend3d.com/news/#633http://www.highendmag.com/http://www.highendmag.com/http://www.highend3d.com/http://www.highend3d.com/maya/http://www.highend3d.com/boards/login.php?Cat=http://www.highend3d.com/boards/logout.phphttp://www.highend3d.com/maya/mel/http://www.highend3d.com/boards/index.php?Cat=1,2http://www.highend3d.com/tests/maya/http://www.highend3d.com/maya/listserver/http://www.highend3d.com/maya/archive/http://www.highend3d.com/maya/gamearchive/http://www.highend3d.com/maya/devarchive/http://www.highend3d.com/maya/plugins/http://www.highend3d.com/maya/shaders/http://www.highend3d.com/tests/maya/testcenter/http://www.highend3d.com/maya/tools/http://www.highend3d.com/maya/tutorials/http://www.highend3d.com/maya/tutorials/http://www.highend3d.com/maya/users/http://www.highend3d.com/bookstore/?section=maya#0735712530http://www.highendnet.com/ads/adclick.php?bannerid=4&zoneid=0&source=&dest=http%3A%2F%2Fwww.okino.comhttp://www.highendnet.com/ads/adclick.php?bannerid=74&zoneid=0&source=&dest=http%3A%2F%2Fwww.righthemisphere.com%2Fsupport%2Fdownloads%2Fhttp://www.highend3d.com/maya/users/http://www.highend3d.com/maya/tutorials/http://www.highend3d.com/maya/tools/http://www.highend3d.com/tests/maya/testcenter/http://www.highend3d.com/maya/shaders/http://www.highend3d.com/maya/plugins/http://www.highend3d.com/maya/devarchive/http://www.highend3d.com/maya/gamearchive/http://www.highend3d.com/maya/archive/http://www.highend3d.com/maya/listserver/http://www.highend3d.com/tests/maya/http://www.highend3d.com/boards/index.php?Cat=1,2http://www.highend3d.com/maya/mel/http://www.highend3d.com/maya/http://www.highend3d.com/boards/logout.phphttp://www.highend3d.com/boards/login.php?Cat=http://www.highendnet.com/ads/adclick.php?bannerid=73&zoneid=0&source=&dest=http%3A%2F%2Fwww.righthemisphere.com%2Fsupport%2Fdownloads%2Fhttp://www.highend3d.com/maya/http://www.highend3d.com/http://www.highend3d.com/3dsmax/http://www.highend3d.com/shake/http://www.highend3d.com/render/http://www.highend3d.com/alias/http://www.highend3d.com/softimage/http://www.highend3d.com/xsi/http://www.highend3d.com/maya/http://www.highend3d.com/global/http://www.highendmag.com/http://www.highendmag.com/http://www.highend3d.com/news/#633http://www.highend3d.com/news/#633http://www.highend3d.com/3dsmax/http://www.highend3d.com/3dsmax/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/http://www.highend3d.com/sitenews/http://www.highend3d.com/calendar/eventView.phtml?Event_ID=93http://www.highend3d.com/calendar/eventView.phtml?Event_ID=93http://www.highend3d.com/calendar/indexResponse.phtmlhttp://www.highend3d.com/boards/postlist.php?Cat=&Board=thebuzzhttp://www.highend3d.com/news/http://www.highendmag.com/http://www.highend3d.com/artists/artist.3d?au=DavidA_FX&iid=63http://www.highend3d.com/link.htmlhttp://www.highend3d.com/link.htmlhttp://www.highend3d.com/link.htmlhttp://www.highend3d.com/
  • 8/3/2019 Layered Texture

    2/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    Now map the "color" of your first layer to a "file"

    push the "interactive Placement" button Use "cylindrical" as the projection type turn off "wrap" in the Effects dropdown Use the supplied "Flames.iff" file

    turn the default color to black Turn off "wrap U" and "wrap V" in the place2dTexture node. After you have got your "placeFlames3D" box in the right

    position, change the texture Quality to High.

    At The Sea 1.0

    TrueGlass 2.5

    Car Metallic Paint 2.0

    silver shader 1.0

    Lathe_Metal 1.0

    Aluminum 1.0

    Xray 1.0

    ChromeGold 3.0

    Bloom 1.0

    wireData NT 3.0

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (2 of 10)10/15/2003 5:57:53 PM

    http://www.highend3d.com/maya/shaders/#1107http://www.highend3d.com/maya/shaders/#779http://www.highend3d.com/maya/shaders/#780http://www.highend3d.com/maya/shaders/#1647http://www.highend3d.com/maya/shaders/#781http://www.highend3d.com/maya/shaders/#615http://www.highend3d.com/maya/shaders/#599http://www.highend3d.com/maya/shaders/#1102http://www.highend3d.com/maya/shaders/#634http://www.highend3d.com/maya/plugins/?section=rendering#731http://www.highend3d.com/maya/plugins/?section=rendering#731http://www.highend3d.com/maya/shaders/#634http://www.highend3d.com/maya/shaders/#1102http://www.highend3d.com/maya/shaders/#599http://www.highend3d.com/maya/shaders/#615http://www.highend3d.com/maya/shaders/#781http://www.highend3d.com/maya/shaders/#1647http://www.highend3d.com/maya/shaders/#780http://www.highend3d.com/maya/shaders/#779http://www.highend3d.com/maya/shaders/#1107
  • 8/3/2019 Layered Texture

    3/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    And you should get something like this

    If you now look at your Shading group in the hypergraph you should have this.

    (I recormend renaming your nodes so that it's easier to understand later on)

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (3 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    4/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    If you now go to your layered texture node and make another layer, you can't see it!!!

    Next we have to tell maya to use the alpha channel of our picture to "over" the flames on to the layer below.

    Duplicate the "Proj_Flames" node and rename it "Proj_Flames_A" (A as in alpha:))

    We want our "placeFlames3D" to put the alpha in the same place as the original flames, SO this is what we do!

    In the HyperGraph select the "placeFlames3D" and middle-mouse drag it onto your "proj_Flames_A" node, this will bring up the connections editor. first

    select World Inverse Matrix[0] then Placement Matrix .

    This tells the "placeFlames3D" to put the alpha in the same place as the flame picture.

    Select the "Proj_Flames" node and middle-mouse drag it onto the "proj_Flames_A" node this again will bring up the Connections Editor.

    first select projType then projType Close the connections editor.

    (this means that when you change the projection type in your "Proj_Flames" node it also changes it in your "Proj_Flames_A" node)

    By this stage you should have this

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (4 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    5/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    Next we will tell the Alpha node what to project

    Select the "flames" node and middle-mouse drag it onto the "Proj_Flames_A" node. This again will bring up the Connections Editor.

    first select outAlpha then imageR Close the connections editor.

    (This takes the Alpha channel of the flame picture and places it in the red channel of our new alpha proj node).

    Next select the "Proj_Flames_A" node and SHIFT middle-mouse drag it on to the "layeredTexture" node.

    first select OutColorR then Inputs[0].Alpha Close the connections editor.

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (5 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    6/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    (This tells the layeredtexture node to use the red channel from the alpha node as an alpha channel for layer "0")

    You should end up with something like this

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (6 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    7/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    But Wait thats not quite right!!!!!!!

    Change the "default color" for the "proj_Flames_A" node to black.

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (7 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    8/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    You should now have this

    Here is the same object with a planar projection also layered on

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (8 of 10)10/15/2003 5:57:53 PM

  • 8/3/2019 Layered Texture

    9/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    This is what the hypergraph looks like

    Add a couple more NURB spheres and a few more images...TA-DA!!!

    Everyone loves a flam'in race'in skull!!!!

    This is what the final hypergraph node looks like...Youch!

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (9 of 10)10/15/2003 5:57:53 PM

    M T i l W Ski i f B /M l D i Ski D f i

  • 8/3/2019 Layered Texture

    10/10

    Maya Tutorials - Wrap Skinning for Bone/Muscle Driven Skin Deformation

    The-Real-Mrhell

    About Us | Partners & Sponsors | Terms & Conditions |Advisory Board| Contact Us |Advertise

    Produced by Will M cCullough, Copyright 1996-2002 Highend Network Inc, designed Will M cCullough

    http://www.highend3d.com/maya/tutorials/layeredtexture/ (10 of 10)10/15/2003 5:57:53 PM

    http://www.highend3d.com/about/http://www.highend3d.com/sponsors/http://www.highend3d.com/terms/http://www.highend3d.com/advisoryboard/http://www.highend3d.com/advisoryboard/http://www.highend3d.com/advisoryboard/http://www.highend3d.com/contact/http://www.highend3d.com/advertise/http://www.highend3d.com/advertise/http://www.highend3d.com/advertise/http://www.highend3d.com/contact/http://www.highend3d.com/advisoryboard/http://www.highend3d.com/terms/http://www.highend3d.com/sponsors/http://www.highend3d.com/about/http://www.highendnet.com/ads/adclick.php?bannerid=69&zoneid=0&source=&dest=http%3A%2F%2Fwww.gnomon3d.com