Hello,
I am doing a plug-in for an external renderer, so I look the MEL code for Maya / Mental Ray.
In registerMayaSoftwareRenderer.mel, you can read in the registerMayaSoftwareRenderer() :
CODE
renderer -renderProcedure "mayaSoftwareRender";
(there are also other options before and after this one).
You can find this procedure definition in renderWindowPanel.mel :
QUOTE
global proc string mayaSoftwareRender(int $width, int $height, int $doShadows, int $doGlowPass, string $camera, string $option)
{ ... }
My question is :
From where are taken the mayaSoftwareRender parameters when this function is called from the renderer registring ?
Thanks.