As per documentation, Arnold provides path(dso) and data attribute on standin to allow loading custom procedurals and their flags but while trying to load xgen_procedural.dll in path and passing required flags in data attribute it's showing me below error.
WARNING | [proc] aiStandInShape: don't know how to load .../xgen_procedural.dll
Any suggestions for what I might be missing?
dso? You're looking at the old Arnold 4 documentation. The procedural nodes loads ass files only. Something like xgen_procedural is an xgen_procedural node.
Hi Stephen,
Thanks for the quick response...
Adding further clarification to make myself clear, I am using Arnold 5 mtoa 3.x and inside the data attribute (inside extra attribute section) of standin, I am calling below flags and values to pass my xgen file.
setAttr ".data" -type "string" "-debug 1 -warning 1 -stats 1 -frame 75.000000 -file E:/RnD/xgen/workflow_development/AiStandin/sphere__collection.xgen -palette collection -geom E:/RnD/xgen/workflow_development/AiStandin/sphere__collection.abc -patch pSphere1 -description description -fps 24.000000 -motionSamplesLookup 0.0 -motionSamplesPlacement 0.0 -world 1;0;0;0;0;1;0;0;0;0;1;0;0;0;0;1";
Then inside the path attribute(which internal name is .dso) I am calling specified procedural.dll file. (File browser gives the option to select ether Arnold archives/Arnold procedurals file type.)
setAttr ".dso" -type "string" "C:/solidangle/mtoadeploy/2019/procedurals/xgen_procedural.dll";
And Yes, As you mentioned it used to work fine in Arnold 4 but I am not aware how to replicate the same for Arnold 5.
Basically, I am trying to avoid baking ass files sequence here. instead, I was trying to pass procedurals flags and required procedurals path.
I would appreciate the help..!!
In Arnold 5 and later, xgen_procedural is a node. So this is what is exported:
xgen_procedural
{
name /collection/description/descriptionShape
visibility 255
matrix
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
id 3738019217
data "-debug 1 -warning 1 -stats 1 -frame 21.000000 -file C:/Users/Stephen Blair/Documents/maya/projects/default/scenes/xgen_archives__collection.xgen -palette collection -geom C:/Users/Stephen Blair/Documents/maya/projects/default/scenes/xgen_archives__collection.abc -patch pPlane1 -description description -fps 24.000000 -interpolation linear -motionSamplesLookup 0.0 -motionSamplesPlacement 0.0 -world 1;0;0;0;0;1;0;0;0;0;1;0;0;0;0;1"
declare dcc_name constant STRING
dcc_name "descriptionShape"
declare xgen_shader constant ARRAY NODE
xgen_shader "lambert1"
declare irRenderCam constant STRING
irRenderCam "false,38.357384,38.285717,70.352417"
declare irRenderCamFOV constant STRING
irRenderCamFOV "54.432224,36.288151"
declare irRenderCamXform constant STRING
irRenderCamXform "0.877983,-0.206371,0.431922,0.000000,0.000000,0.902297,0.431115,0.000000,-0.478692,-0.378512,0.792201,0.000000,0.000000,0.000000,-88.806236,1.000000"
declare irRenderCamRatio constant STRING
irRenderCamRatio "1.500000"
declare xgen_renderMethod constant STRING
xgen_renderMethod "1"
declare ai_mode constant INT
ai_mode 0
declare ai_min_pixel_width constant FLOAT
ai_min_pixel_width 0
declare xgen_multithreading constant BOOL
xgen_multithreading off
}
A standin is a procedural node, not an xgen_procedural node.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.