PDA

View Full Version : Help with sending a render to the network


Kenzor
09-27-2005, 09:27 AM
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 Im 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

j-man
09-27-2005, 10:10 AM
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 (http://www.joshuanewman.net/scripts/download/send_scene_cams-01.zip)

J

Kenzor
09-27-2005, 10:47 AM
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.

j-man
09-27-2005, 11:24 AM
Thanks for the the example. It should make my life a lot easier.

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

I guess the "render netrender:true" method is broken

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.

Your example seems a lot more complex to code (although quicker for the user)

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'll post a test version of the interface soon-ish.

I'm looking forward to it!

nice bomber movie BTW.



J

CGTalk Moderation
09-27-2005, 11:24 AM
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.