Skip to content

My collection of katana args/lookfiles for shaders in katana

Notifications You must be signed in to change notification settings

fpliu/katana-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

katana-dev

This is my scripts for customizing The Foundry's Katana. Currently it mostly consists of args & lookfiles for shaders for Prman 16.5/17.0, Mtoa and SitoA shaders for Arnold 4.0.11.

========== Prman Notes

Prman 16.5/17.0 Args are for the default shaders included in the package. Under osx they are in these directories below. I copy them into my directory structure. I don't believe I have the rights to include them in this repository so you can simply copy them yourselves

/opt/pixar/RenderManProServer-16.5/lib/rsl/shaders /opt/pixar/RenderManProServer-16.5/lib/shaders /opt/pixar/RenderManProServer-16.5/lib/examples

========== My Directory structure

/shaders
--/prman
----/16.5 < prman 16.5 shaders go here
------/Args < args for prman 16.5 shaders of the same name goes here
----/17.0 < prman 17.0 shaders go here
------/Args < args for prman 17 shaders of the same name goes here
--/Arnold < default shaders inside libai.so which is included with arnold
----/Args < args for default arnold shaders
----/mtoa < mtoa shaders
------/Args < mtoa args
----/sitoa < sitoa shaders
------/Args < sitoa args
--/shave < shave shaders
----/Args <shave args

========== To use these files

As of Katana 1.1v1, they are picked up from the following directories, in this order of precedence:

  • Args subdirectory of the shader’s directory.
  • ../Args directory relative to the shader’s directory.
  • ../doc directory relative to the shader’s directory (Deprecated, for backwards compatibility)
  • Args subdirectories of each directory in the KATANA_RESOURCES environment variable.

==========

To get these to work you need to put the shaders in your Arnold/Prman shader path. To get the Args for the default libai.so Arnold shader working I also had to put that path in my KATANA_RESOURCES. The example below is using BASH. You will need to make it slightly different if you want to use CSH or TCSH.

RMAN_SHADERPATH=$RMANTREE/lib/shaders:$HOME/Dropbox/katana/shaders/prman/16.5

ARNOLD_SHADERLIB_PATH=$HOME/Dropbox/katana/shaders/arnold:$HOME/Dropbox/katana/shaders/arnold/mtoa:$HOME/Dropbox/katana/shaders/arnold/sitoa:$HOME/Dropbox/katana/shaders/arnold/shave

KATANA_RESOURCES=$KATANA_HOME/plugins/Resources/Examples:$KATANA_HOME/plugins/Resources/PRMan16:$KATANA_HOME/plugins/Resources/Arnold4.0:$HOME/Dropbox/katana/shaders/arnold

**A quick note, prman shader path recursively looks down the folders and arnold does not. So that’s why I set prman to a single folder and had to set arnold for every folder.

About

My collection of katana args/lookfiles for shaders in katana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published