Kristen Eggleston
  • Demo Reel
  • Contact
  • SESI
  • Explorations in Renderman
  • Mechanical Spiders

One Shader, Many Looks

2/20/2013

 
Picture
With Renderman in Maya, one is able to change a texture map or an attribute based on the name of the object it is applied to. In Houdini, this is done on the material node by adding local overrides. The user can alter any attribute on the chosen shader based on a group or on a stamped copy number.

Be careful when changing texture maps. These are passed in a strings rather than floats or integers so proper formatting is key:

          `"/path/to/file/filename" + number + ".tex"`

Now the user can alter the number so that filename1.tex, filename2.tex, and filename3.tex are all accessible by the same shader and material node leading to quicker render times!
Picture

Comments are closed.

    Categories

    All
    Accidents
    Cool Tricks
    Houdini
    Shaders

    Archives

    March 2013
    February 2013

    RSS Feed

Proudly powered by Weebly