Coder Social home page Coder Social logo

katana-dev's Introduction

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.

katana-dev's People

Contributors

dekekincaid avatar

Watchers

Frankie Liu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.