dunkelzahn
07-15-2009, 04:47 PM
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 640x480 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
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 640x480 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
