Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RfB uses the prman command-line mechanism as described above, including the use of the RMAN_STATS_CONFIG_PATH override environment variable. Interactive configuration of live stats is available in the Blender preferences.

Katana

...

RenderMan for Katana will search for a configuration file with the following precedence:

  1. The prmanGlobalStatements.stats options take precedence over all other options if they are configured (see OpScript below).
  2. $RMAN

...

  1. _STATS_CONFIG_PATH

...

  1. /stats.ini if the environment variable is set

...

  1. .
  2. $CWD/stats.ini

...

  1. $RMANTREE/etc/stats/ini

Advanced configuration is

If no file is found the default configuration will be used (live stats enabled, no listeners, no JSON report)

Additional configuration is also available in RfK through the following attributes:

prmanGlobalStatements.stats.configPath (default: ".:$RMANTREE/etc")

prmanGlobalStatements.stats.configFile (default: "stats.ini")

These attributes are currently not exposed in PrmanGlobalStatements, they must be set via AttributeSet or OpScript at the moment. Below is an OpScript which exposes these two attributes as user args with defaults as listed above. Copy and paste into your Katana scene and modify the path and config file name as needed.


language
Code Block
Expand
xmltitleConfiguration OpScript
collapsetrue
<katana release="6.5v1.010030b" version="6.0.1.000003">

  <node name="__SAVE_exportedNodes" type="Group">
    <node baseType="OpScript" edited="true" name="AdvancedStatsConfiguration" ns_colorb="0.05" ns_colorg="0.26" ns_colorr="0.09" ns_errorGlow="0.0" ns_fromContext="legacy" selected="true" type="OpScript" x="493.466" y="-240.278">
      <port name="i0" source="PrmanGlobalStatements.out" type="in"/>
      <port name="out" type="out"/>
      <group_parameter name="AdvancedStatsConfiguration">
        <string_parameter name="CEL" value="((/root))"/>
        <string_parameter name="location" value="/root/world/location"/>
        <group_parameter name="script">
          <string_parameter name="lua" value=" -- Default: '&apos;stats.ini' &apos;&#0010; local configFile = Interface.GetOpArg('&apos;user.configFile'&apos;):getValue() &#0010;&#0010;-- Default: '&apos;.:${RMANTREE}/etc' &apos;&#0010;-- Can be overriden with RMAN_STATS_CONFIG_PATH &#0010;local configPath = Interface.GetOpArg('&apos;user.configPath'&apos;):getValue() &#0010;Interface.SetAttr('&apos;prmanGlobalStatements.stats.configFile'&apos;, StringAttribute(configFile)) &#0010;Interface.SetAttr('&apos;prmanGlobalStatements.stats.configPath'&apos;, StringAttribute(configPath)) &#0010;&#0010;"/>
        </group_parameter>
        <string_parameter name="executionMode" value="immediate"/>
        <string_parameter name="applyWhere" value="at locations matching CEL"/>
        <string_parameter name="applyWhen" value="during op resolve"/>
        <string_parameter name="modifierNameMode" value="node name"/>
        <string_parameter name="modifierName" value="modifier"/>
        <string_parameter name="resolveIds" value=""/>
        <number_parameter name="recursiveEnable" value="0"/>
        <string_parameter name="disableAt" value=""/>
        <string_parameter name="inputBehavior" value="by index"/>
        <number_parameter name="multisampleUserOpArgs" value="0"/>
        <group_parameter hints="{}" name="user">
          <string_parameter hints="{'widget'&apos;widget&apos;: 'fileInput'&apos;fileInput&apos;}" name="configFile" value="telemetry_stats.ini"/>
          <string_parameter expression="'&apos;.:'&apos;+getenv('HOME'&apos;HOME&apos;, '.'&apos;.&apos;)+'&apos;/stats/configs'&apos;" hints="{}" name="configPath"/>
        </group_parameter>
      </group_parameter>
    </node>
  </node>
</katana>  

Maya

If the RMAN_STATS_CONFIG_PATH environment variable is set RfM will use that search path to look for a file named stats.ini.

...

If no file is found, or if that environment variable is not set then the default configuration will be used.

...

.