[Closed] problem with netRender
hi people,
i have a problem with max's netRender. All i want is to submit a simple job over the network via BB. this should be pretty simple and i have looked at some example scripts. I wrote:
(
local mNetRenderMngr = NetRender.GetManager()
mNetRenderMngr.connect #automatic "255.255.255.0"
local aJob = mNetRenderMngr.newjob file:someFileName
aJob.name = "test1"
local isControlTaken = false
if ( mNetRenderMngr.QueryControl #wait ) do (
isControlTaken = mNetRenderMngr.getcontrol() --takes queue control
)
if (isControlTaken) do (
aJob.submit()
)
mNetRenderMngr.wantControl=true
mNetRenderMngr.Disconnect()
)
the job gets submitted, but on the servers i get error:
“Could not locate C:\Program Files\Autodesk\backburner\Network\ServerJob est1.max”
should i somehow “send” the scene there ?
I assume the variable “someFilename” has a filepath to a valid maxfile… right?
I’ve not used the submittal command this way, try removing “file:somefilename” and see if it renders the current loaded scene… I’m not sure how BB reactes with the file: field being filled in on the new job. What render settings it’s likely to pick up is another question as well…
good luck
yes with the current scene it worked, while it wont work with provided valid maxfile. quite strange. thanks for the pointer =)
Usually when rendering non-current session max files, you want to use the 3dsmaxcmd.exe option to submit it… documenation on this technique can be found in the standard max help file… search “command line rendering.” It can be a dosCommand from a max session to do it if you’ve all your information in max already… it can also be called from any other programming lang…
good luck…