Page 1 of 1
Scripting issue: Maxwell.startRender();
Posted: Wed Jun 23, 2010 9:39 pm
by kivimaki
I've been trying to start a batch render using the batch render script all afternoon. The settings and paths change correctly, however it does not start rendering. The Maxwell.startRender command does not seem to do anything.
To confirm this I tried the following on two computers (Mac and PC) with various files:
Maxwell.openMxs( path );
Maxwell.startRender();
The console reports that the MXS file has been read successfully, but it does not start to render. If I hit the render button on my own the render completes without any errors. Am I doing anything wrong or is this a bug? Similar problem
here.
Re: Scripting issue: Maxwell.startRender();
Posted: Wed Jun 23, 2010 10:02 pm
by tom
No errors in the console? Does the scene have textures or other resources needed?
Re: Scripting issue: Maxwell.startRender();
Posted: Wed Jun 23, 2010 10:29 pm
by kivimaki
No errors in the console. The scenes I have been trying to render do include textures and a HDR map, but I had specified a bitmap search path that worked. When I ran the batch processing script everything would work correctly but the render would not start. If I manually clicked the render button the render would start and complete without any errors in the console.
After the render would complete the script would automatically do its job and update the MXS path, as well as the image and MXI paths, but I would have to press the render button again to get the next one to start. It would not happen automatically.
I have also created a MXS with no other resources needed and attempted the simple:
Maxwell.openMxs( "C:\Documents and Settings\User\Desktop\test.mxs" );
Maxwell.startRender();
The same thing happens as before. The console reports that the MXS has been successfully read, but the render does not start.
Re: Scripting issue: Maxwell.startRender();
Posted: Wed Jun 23, 2010 10:52 pm
by tom
OK, please send me this test.mxs (tomATnextlimitDOTcom)
Re: Scripting issue: Maxwell.startRender();
Posted: Thu Jun 24, 2010 11:13 am
by tom
Testing your scene here and it starts rendering without problems... Do you have non-latin characters in your Windows user profile?
Re: Scripting issue: Maxwell.startRender();
Posted: Thu Jun 24, 2010 3:39 pm
by kivimaki
I don't believe there are any non Latin characters in my user profile. I have tried this on two computers at work: one Mac and one PC, and on my personal computer (PC) at home. In every case the startRender command doesn't do anything.
Re: Scripting issue: Maxwell.startRender();
Posted: Thu Jun 24, 2010 6:08 pm
by kivimaki
I suppose it's worth noting I have used the 64-bit version on a XP 64 machine, a Windows 7 64 machine. I am not sure what version of OSX the Mac was running. I saw you were running your test on a 32 bit version of Maxwell.
Re: Scripting issue: Maxwell.startRender();
Posted: Thu Jun 24, 2010 6:56 pm
by tom
Yes, the above test was done on XP x64 using 32-bit Maxwell. Now, I'm doing the same with 64-bit Maxwell and unable to reproduce the problem, yet.