Gaffer-Crypto Batch Options

 avatar
polygonMerge
plain_text
23 days ago
7.1 kB
3
Indexable
Never
import Gaffer
import GafferScene
import imath

Gaffer.Metadata.registerValue( parent, "serialiser:milestoneVersion", 1, persistent=False )
Gaffer.Metadata.registerValue( parent, "serialiser:majorVersion", 4, persistent=False )
Gaffer.Metadata.registerValue( parent, "serialiser:minorVersion", 4, persistent=False )
Gaffer.Metadata.registerValue( parent, "serialiser:patchVersion", 0, persistent=False )

__children = {}

__children["BatchOutputs_Crypto"] = GafferScene.Outputs( "BatchOutputs_Crypto" )
parent.addChild( __children["BatchOutputs_Crypto"] )
__children["BatchOutputs_Crypto"]["outputs"].addChild( Gaffer.ValuePlug( "output10", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.StringPlug( "name", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.BoolPlug( "active", defaultValue = True, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.StringPlug( "fileName", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.StringPlug( "type", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.StringPlug( "data", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"].addChild( Gaffer.CompoundDataPlug( "parameters", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"]["parameters"].addChild( Gaffer.NameValuePlug( "layerPerLightGroup", Gaffer.BoolPlug( "value", defaultValue = False, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ), "layerPerLightGroup", Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic ) )
__children["BatchOutputs_Crypto"]["outputs"].addChild( Gaffer.ValuePlug( "output11", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.StringPlug( "name", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.BoolPlug( "active", defaultValue = True, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.StringPlug( "fileName", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.StringPlug( "type", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.StringPlug( "data", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"].addChild( Gaffer.CompoundDataPlug( "parameters", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output11"]["parameters"].addChild( Gaffer.NameValuePlug( "layerPerLightGroup", Gaffer.BoolPlug( "value", defaultValue = False, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ), "layerPerLightGroup", Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic ) )
__children["BatchOutputs_Crypto"]["outputs"].addChild( Gaffer.ValuePlug( "output1", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.StringPlug( "name", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.BoolPlug( "active", defaultValue = True, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.StringPlug( "fileName", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.StringPlug( "type", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.StringPlug( "data", defaultValue = '', flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"].addChild( Gaffer.CompoundDataPlug( "parameters", flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output1"]["parameters"].addChild( Gaffer.NameValuePlug( "layerPerLightGroup", Gaffer.BoolPlug( "value", defaultValue = False, flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ), "layerPerLightGroup", Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic ) )
__children["BatchOutputs_Crypto"].addChild( Gaffer.V2fPlug( "__uiPosition", defaultValue = imath.V2f( 0, 0 ), flags = Gaffer.Plug.Flags.Default | Gaffer.Plug.Flags.Dynamic, ) )
__children["BatchOutputs_Crypto"]["outputs"]["output10"]["name"].setValue( 'Batch/Arnold/Crypto_Object' )
__children["BatchOutputs_Crypto"]["outputs"]["output10"]["fileName"].setValue( '${SERVER_BASE}${TT_PROJCODE}/episodes/${TT_ASSTYPE}/shots/${TT_ENTNAME}/products/renders/${TT_VER}/${renderPass}/crypto_object/crypto_object.####.exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output10"]["type"].setValue( 'exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output10"]["data"].setValue( 'color crypto_object' )
__children["BatchOutputs_Crypto"]["outputs"]["output11"]["name"].setValue( 'Batch/Arnold/Crypto_Material' )
__children["BatchOutputs_Crypto"]["outputs"]["output11"]["fileName"].setValue( '${SERVER_BASE}${TT_PROJCODE}/episodes/${TT_ASSTYPE}/shots/${TT_ENTNAME}/products/renders/${TT_VER}/${renderPass}/crypto_material/crypto_material.####.exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output11"]["type"].setValue( 'exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output11"]["data"].setValue( 'color crypto_material' )
__children["BatchOutputs_Crypto"]["outputs"]["output1"]["name"].setValue( 'Batch/Arnold/Crypto_Asset' )
__children["BatchOutputs_Crypto"]["outputs"]["output1"]["fileName"].setValue( '${SERVER_BASE}${TT_PROJCODE}/episodes/${TT_ASSTYPE}/shots/${TT_ENTNAME}/products/renders/${TT_VER}/${renderPass}/crypto_asset/crypto_asset.####.exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output1"]["type"].setValue( 'exr' )
__children["BatchOutputs_Crypto"]["outputs"]["output1"]["data"].setValue( 'color crypto_asset' )
__children["BatchOutputs_Crypto"]["__uiPosition"].setValue( imath.V2f( 95.9624405, 27.1826992 ) )


del __children

Leave a Comment