适用于 Maya 的 Bifrost Extension 是一个插件,既可以作为 Maya 的一部分发行,也可以独立于 Maya 发行。
适用于 Maya 的 Bifrost Extension 安装程序包括以下各项:
bifcmd
,此命令行工具可执行从基于节点的环境导出的 Bifrost 图表。从 Maya 2018 开始,适用于 Maya 的 Bifrost Extension 与所有 Maya 版本及其 Update 版本兼容。
如果您已经使用 Bifrost 流体和 BOSS,则可以通过适用于 Maya 的 Bifrost Extension 继续使用这些功能。
安装 Maya 2018.7 或 Maya 2019.2 Update 及更高版本时,适用于 Maya 的 Bifrost Extension 将自动包含在 Maya 安装程序中。对于所有先前版本的 Maya,请访问 AREA 以获取相关安装程序。
加载包含 Bifrost 流体的旧版场景时,可能会显示如下错误:
// Warning: Bifrost: to use the updated Bifrost graphs in Maya, graph |bifrostLiquid1|bifrostLiquidContainer1 needs to be updated to the latest version, call mel script: replaceBifrostFXGraphsWithFactoryGraphs |bifrostLiquid1|bifrostLiquidContainer1 ; //
// Error: bifrostLiquidContainer1: Emitters: Could set input port value. Failed to set input parameter Emitters //
// Error: Bifrost evaluation error //
要解决此问题,请按照消息的指示执行 MEL 命令。例如,如果液体节点为 bifrostLiquid1,请运行如下命令:
replaceBifrostFXGraphsWithFactoryGraphs |bifrostLiquid1|bifrostLiquidContainer1 ;
../Bifrost/<MayaVersion>/<BifrostVersion>
复制到自定义位置。CustomPath/Bifrost/<MayaVersion>/<BifrostVersion>
。选择自定义位置时,应避免在 Maya 安装的插件目录中安装 Bifrost Extension。否则,您可能会遇到以下错误:getFullyQualifiedNameEv
、Amino11NamedEntity7getNameEv
和 AminoNamedEntity
。此外,以下是您可能在 Linux 上看到的错误示例:
../lib/libBifrostBoardExec_1_0.so: undefined symbol: _ZNK5Amino11NamedEntity7getNameEv (bifrostGraph) //
../scripts/others/pluginWin.mel line 290: Unable to dynamically load : .../bifrost/plug-ins/bifrostshellnode.so
../lib/libbifrostmayaconversion_1_0.so: undefined symbol: _ZNK5Amino11NamedEntity21getFullyQualifiedNameEv (bifrostshellnode) //
通常,您可能想要将 Bifrost Extension 安装到 Maya 安装目录之外的位置。
不支持从自定义位置卸载。您可能需要手动移除安装目录中的文件。