Author Topic: [feedback] Render nodes don't start and max process remains idle in background  (Read 4285 times)

2017-03-31, 20:53:55

soulkoder

  • Active Users
  • **
  • Posts: 24
    • View Profile
    • My Gallery
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

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
« Last Edit: 2017-04-04, 15:25:06 by Ondra »

2017-03-31, 21:18:04
Reply #1

sevecek

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 197
    • View Profile
Thanks for the report, what version of 3ds Max do you have?

2017-03-31, 22:01:45
Reply #2

soulkoder

  • Active Users
  • **
  • Posts: 24
    • View Profile
    • My Gallery

2017-04-03, 12:22:08
Reply #3

soulkoder

  • Active Users
  • **
  • Posts: 24
    • View Profile
    • My Gallery

2017-04-03, 13:32:28
Reply #4

sevecek

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 197
    • View Profile
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?
« Last Edit: 2017-04-03, 14:08:56 by sevecek »

2017-04-04, 14:44:46
Reply #5

sevecek

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 197
    • View Profile
Please try the latest daily build (17/04/03) and let me know if the issue is resolved.
« Last Edit: 2017-04-04, 14:49:25 by sevecek »

2017-04-04, 19:02:40
Reply #6

soulkoder

  • Active Users
  • **
  • Posts: 24
    • View Profile
    • My Gallery
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.

2017-04-04, 19:23:03
Reply #7

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
because there is bug in 3dsmax causing incorrect free view to be rendered - only cameras can be safely selected for rendering on slaves
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)