PDA

View Full Version : problem with netRender


xenry
06-04-2008, 10:25 AM
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\test1.max"
should i somehow "send" the scene there ?

Kramsurfer
06-04-2008, 09:51 PM
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

xenry
06-05-2008, 08:41 AM
yes with the current scene it worked, while it wont work with provided valid maxfile. quite strange. thanks for the pointer =)

Kramsurfer
06-05-2008, 05:14 PM
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...

CGTalk Moderation
06-05-2008, 05:14 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.