[feedback] Render nodes don't start and max process remains idle in background

Bug description : Render nodes don’t start and max process remains idle in background.

When a render starts in the host, all nodes start loading max and it goes well until the script editor window appears with highlight on line 9

" region = viewport.getRegionRect (viewport.activeViewport);"

then the script window disappears and max process remains idle, no rendering happens in nodes.

as a test, I modified the file “post.ms” to


global wasCancelled = false;
do (
  loadMaxFile (CoronaRenderer.CoronaFp.getSceneFilename()) quiet:true;
  global cam = getNodeByName(CoronaRenderer.CoronaFp.getSlaveCamera());
  global rtype = getRenderType();
  if (cam == undefined) then
    render cancelled:&wasCancelled frame:(CoronaRenderer.CoronaFp.getSlaveFrame()) vfb:off renderType:rtype; else
    render cancelled:&wasCancelled frame:(CoronaRenderer.CoronaFp.getSlaveFrame()) vfb:off camera:cam renderType:rtype;
  loadMaxFile "C:/Users/John/AppData/Local/CoronaRenderer/DrData/corona_dr.max" quiet:true;
  render vfb:false;
) while wasCancelled == false

and the problem was solved when the nodes started max !

of course this file is over-written each time the DR starts so it’s not a real solution.

Corona version :

Corona version: 1.6 DailyBuild Mar 29 2017
Full-speed, Non-debug, MaxSDK 2016
Build timestamp: Mar 29 2017 22:56:27
Defines: Wide RGB

Thanks for the report, what version of 3ds Max do you have?

2016 with SP3

Windows 7 x64 SP1

Any updates ?

Could you share the scene that’s causing this bug?

EDIT: Have you selected any viewport before rendering? I’ve found that the render doesn’t start on slaves if there is no active viewport in the scene. Could it be the issue you describe?

Please try the latest daily build (17/04/03) and let me know if the issue is resolved.

With the latest build mentioned, the nodes start correctly and it renders well …

Thanks …

Why should we always use a camera view instead of a perspective view when rendering ?

using a perspective view gives me incorrect results.


because there is bug in 3dsmax causing incorrect free view to be rendered - only cameras can be safely selected for rendering on slaves