#!/bin/bash
# -- Define the install location for KATANA --
export KATANA_ROOT=/opt/Katana7.0v1

# -- select which renderer Katana expects by default when rendering --
export DEFAULT_RENDERER=prman

# -- Location of the RenderMan Pro Server installation --
export RMANTREE=/opt/Pixar/RenderManProServer-26.3

# -- Location of the PRman plugin for KATANA --
export RFKTREE=/opt/Pixar/RenderManForKatana-26.3/plugins/katana7.0

# -- This is what is required to load the RfK plugin --
export KATANA_RESOURCES=$KATANA_RESOURCES:$RFKTREE

# -- This is a workaround to prevent ImportError with KatanaQueue --
export PATH=%PATH%;%RMANTREE%\lib;%RMANTREE%\bin

# -- These are required for the hdPrman Render Delegate

export RMAN_ASSET_LIBRARY = %RMANTREE%/lib/RenderManAssetLibrary
export RMAN_SHADERPATH=$RMAN_SHADERPATH:/opt/pixar/RenderManForKatana-26.3/plugins/katana7.0/usd/resources/shaders
export RMAN_RIXPLUGINPATH=$RMAN_RIXPLUGINPATH:/opt/pixar/RenderManForKatana-26.3/plugins/katana7.0/usd

# -- Start Katana --
$KATANA_ROOT/katana
