我想在Mac上为The Foundry Nuke添加Pixar RenderManProServer 21.5库的组件。这些组件对于以DTEX
格式阅读(对于深度合成)至关重要。 Foundry的用户指南告诉我,我需要创建一个XML environment.plist 文件并将其放在 .MacOSX 目录中。
但它不起作用。
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>DYLD_LIBRARY_PATH</key>
<string>/Applications/Pixar/RenderManProServer-21.5/lib</string>
<key>RMANTREE</key>
<string>/Applications/Pixar/RenderManProServer-21.5</string>
</dict>
</plist>
还有其他方法可以在Mac上为Nuke安装RenderMan库的组件吗?
答案 0 :(得分:1)
~/.MacOSX/environment.plist
(自10.8起)。因此,您需要使用~/.bash_profile
编辑器将一些行放入隐藏文件pico
中。
在Terminal
执行sudo
命令:
sudo pico .bash_profile
# you need an administrator password for sudo command
然后将这些行放在.bash_profile
文件中:
echo RenderManProServer environment variables are set...
export NUKE_TEMP_DIR=/var/tmp/nuke-u501/
export NUKE_PATH=/Users/swift/.nuke
export RMANTREE=/Applications/Pixar/RenderManProServer-21.5/
export RMSTREE=/Applications/Pixar/RenderManProServer-21.5/
export DYLD_LIBRARY_PATH=/Applications/Pixar/RenderManProServer-21.5/lib/
export RMANFB=it
export PATH=$PATH:$RMANTREE/bin:$RMSTREE/bin/it.app/Contents/MacOS:$RMSTREE/bin/slim.app/Contents/MacOS
不要忘记按 ctrl + o 保存此文件,然后按 ctrl + x退出pico
编辑器