Notifications
Clear all

[Closed] Netrender Render settings

Hello everybody,

I´ve grown a bit more ambitious since my last post and I´m currently tackling a script that is supposed to assign shaders onto geometry by the help of selection groups and the Selection Manager to be rendered as layers for compositing. This part is slowly evolving, but the first tests were looking good.

What IS bugging me, however is the fact that I need to assign it to the network renderer. I have done this by butchering a piece of script posted originally by ZeBoxx2 on this forum.

Now don´t get me wrong, it works like a charm, submits the jobs to the network, no problem. However 3DS Max sets resolution and duration to 640×480 px and 101 frames (0-100), no matter what I do. I checked the MXS help and it says there that the arguments “fromframe”, “toframe”, “outputwidth”, “outputheight” used for receiving the values of the job submitted “can be changed”. I searched the forum but to no avail.

So now I have this script which doesnt work and I don´t know how to fix it repeatedly smashes head to table

man = netrender.getmanager()

–this bit here doesn´t seem to do any good, except to launch a rendering of frame 0
–before dubmitting the job
render netrender: true fromframe: 0 toframe: 0 outputwidth: 300 outputheight: 300

man.connect #manual “localhost”
job = man.newJob()
job.submit()

Does anybody what I am doing wrong? I am using 3DS Max 2010 fresh out of the box, Max 2008 and 2009 provide me with the same bug. Can anybody point me in the right direction?

Thanks in advance

Chris

1 Reply

Oh man, I feel like such a jerk. These corrections fix the bug:

man = netrender.getmanager()

man.connect #manual “localhost”
job = man.newJob() – current scene
job.fromFrame = 0
job.toFrame = 0
job.outputWidth = 300
job.outputHeight = 300

job.submit()

Thanks anyway to ZeBoxx2 for the first piece of script without I would not have have made it this far

Cheers

Chris