Notifications
Clear all

[Closed] Help with sending a render to the network

I’m writing a tool for compositing, that renders one pass per light (i.e. one light on and all the others are off). I’ve got the lights turning on and off and the scene rendering but when I try to launch a network render nothing happens.

The command I’m using to render is

Render()

which according to the help should launch a network render like this

Render Netrender:true

But it doesn’t seem to work. :banghead: Any suggestions?

thanks

3 Replies

Hey Ken,

You wan to use the netrender interface for this. Have a look at this script and also read in the MXS help. This will submit jobs to the queue which are stored withing the script file under the headding “– all your cameras go here”.
This is a basic example of how to use the netrender interface (note it doesn’t check to see if somebody is already using the manager!). Make sure you read the comments at the top!

www.joshuanewman.net/scripts/download/send_scene_cams-01.zip

Thanks for the the example. It should make my life a lot easier.

I guess the “render netrender:true” method is broken
Your example seems a lot more complex to code (although quicker for the user)

I’ll post a test version of the interface soon-ish.

1 Reply
(@j-man)
Joined: 1 year ago

Posts: 0

Heck, it’s all done for you! < :

I think you’ll find this is used to make sure that the net render option isn’t checked in the renderer since it defaults to whatever the status in the render dialog is.

It’s hardly complex, just expanded for easy use and to help you to understand how to use the netrender interface. You will need to learn hoe to use .querycontrol and .getcontrol and .lock to ensure that you don’t try to submit jobs at the same time as somebody else (catastrophic! – ok not that bad but bad) plus a few other things.

I’m looking forward to it!

nice bomber movie BTW.