Scripted Renderer Default Display - how to override?

djigneodjigneo Posts: 283

From within a Scripted Renderer script, how could one convince DAZ Studio to display the output of a

DzScriptedRenderer.riDisplay()

call in the Render window?

I suspect it happens under the hood of:

DzScriptedRenderer.doDefaultDisplay()

But I am clueless as to what that method does.

 

Scenario: In a render script I am rendering out multiple files: outlines, subsets, etc.

I would like to have control over what the Render window shows when Render Settings > General > Render Target is set to New Window. Is this possible?

 

Edit: I would think it should be something to the effect of:

var oRenderHandler = DzScriptedRenderer.getHandler();

oRenderHandler.addRenderFiles(["filename.png"]);

But I haven't quite gotten that to work.

Post edited by djigneo on
Sign In or Register to comment.