1
[Max] Resolved Bugs / [feedback] Render nodes don't start and max process remains idle in background
« on: 2017-03-31, 20:53:55 »
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
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 :
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
Code: [Select]
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 :
Quote
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