Notifications
Clear all

[Closed] Maxscript and Net rendering

I’ve been writing a small script to send jobs to backburner (something like batchrender) however I’ve got problem with file formats, backburner seems to ignore all my fileformat settings (rpf channels etc.) then I set the jobs through Maxscript, it works fine if I manually send the jobs. So is this backburner/netrender interface bug or am I doing something wrong? If it is a bug, is there anyway to get around it so I’d get rpf channels to backburner renders through maxscript.

  • Jerry
5 Replies

So am I to asume that this is a bug and there is no way around it other than manually sending every backburner job?

Have you tried writing and using -cmdFile that defines what you want set? Then submit the job using 3dsmaxcmd.exe. I have had to use this in past versions of 3ds max to get proper TGA and EXR settings applied to scenes.

-Eric

Hey Bercon,

I know the problem you speak of. Its very strange, but when manipulating the image io settings, they don’t transfer over when netrendering. They will usually revert to some default, no matter what channels specified, etc. The workaround I found was to first make sure to call renderSceneDialog.close(). Then for each job, set the rendoutputfilename to a blank string, do your bitmap io code, then set the rendoutputfilename corresponding to your bitmap io file type accordingly. If you do this in a loop you need to explicitly set rendoutputfilename back to “” in order for it to work.

It seems strange, but it works for me. Tell me how it goes and if it doesn’t work I can check my code for other strange nuances that might make it work. I believe this is a bug. When I last encountered this problem I also failed to find many people experiencing this (I assume because bitmapio is a rather obscure mxs topic).

That’s the work around I found as well… even the manual file set output filename dialog is buggy… it’s been that way forever…

Thanks, James, for posting this solution. You just saved my bacon today on a render with a tight deadline.