@echo off
rem -- Define the install location for KATANA --
set "KATANA_ROOT=C:\Program Files\Katana7.0v1"

rem -- select which renderer Katana expects by default when rendering --
set "DEFAULT_RENDERER=prman"

rem -- Location of the RenderMan Pro Server installation --
set "RMANTREE=C:\Program Files\Pixar\RenderManProServer-26.3"

rem -- Location of the PRman plugin for KATANA --
set "RFKTREE=C:\Program Files\Pixar\RenderManForKatana-26.3\plugins\katana7.0"

rem -- This is what is required to load the RfK plugin --
set "KATANA_RESOURCES=%KATANA_RESOURCES%;%RFKTREE%"

rem -- This is a workaround to prevent ImportError with KatanaQueue --
set "PATH=%PATH%;%RMANTREE%\lib;%RMANTREE%\bin"

rem -- These are required for the hdPrman Render Delegate

set "RMAN_SHADERPATH=%RMAN_SHADERPATH%;%RMANTREE%/usd/resources/shaders"
set "RMAN_RIXPLUGINPATH=$RMAN_RIXPLUGINPATH:C:/Program Files/Pixar/RenderManForKatana-26.3/plugins/katana7.0/usd"
set "RMAN_ASSET_LIBRARY = %RMANTREE%\lib\RenderManAssetLibrary"

rem -- Start Katana --
"%KATANA_ROOT%\bin\katanaBin.exe"