Configuring RfK with Custom Ops
In order to configure RfK2.0 RfK to use custom Ops you must build a configuration file to specify your Ops and the order in which they should be evaluated. The file:
...
Code Block |
---|
<rfkConfig format="1"> <!-- Ops which affect the scene as seen at ribgen time --> <renderTerminalOps> <op type="SomeOpName" insertWhen="afterAddShaderInfobeforeVstructExpansion"/> <op type="AnotherOpName" insertWhen="last" needsSystemArgs="true"/> <op type="AnOpWithArgs" insertWhen="last"> <attr type="GroupAttr"> <attr name="taco" tupleSize="1" type="IntAttr"> <sample size="1" time="0" value="1 "/> </attr> <attr name="cheese" tupleSize="1" type="StringAttr"> <sample size="1" time="0"> <str value="salsa"/> </sample> </attr> </attr> </op> </renderTerminalOps> <!-- Ops which are evaluated during live render updates --> <liveRenderTerminalOps> <op type="SomeOpName" insertWhen="afterAddShaderInfobeforeVstructExpansion"/> </liveRenderTerminalOps> </rfkConfig> |
...
An "op" element has two required properties:
typea type a string containing the name of a registered Op typeinsertWhena type = insertWhen a string indicating where among the terminal ops added by RfK itself the op should be inserted. See table below for a list of valid string values.
An "op" element may have these optional properties:
needsSystemArgsvalues needsSystemArgs values of "yes", "true" or "1" result in the "system" GroupAttribute being added to the Op's arguments. This contains information about the current frame and shutter information.
...